This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sites/all/themes/abalone/js/abalone.js b/sites/all/themes/abalone/js/abalone.js | |
index fbdbbd3..6dd7b22 100644 | |
--- a/sites/all/themes/abalone/js/abalone.js | |
+++ b/sites/all/themes/abalone/js/abalone.js | |
@@ -4,8 +4,7 @@ | |
// Keep the top level menu open | |
event.preventDefault(); | |
event.stopPropagation(); | |
- // Close any other child menus | |
- // that are not our decendents |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for source in ghosts: | |
if source in close_sources: | |
continue | |
xmin, xmax, ymin, ymax = source.bounds() | |
# Enlarge the bounding box just slightly | |
xwidth = xmax - xmin | |
if xwidth > 300: | |
xmin -= (xwidth * 1.2 - xwidth) / 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from __future__ import print_function, division | |
import glob | |
from astropy.cosmology import Planck15 | |
import astropy.units as units | |
import numpy as np | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from __future__ import print_function, division | |
import glob | |
from astropy.cosmology import Planck15 | |
import astropy.units as units | |
import matplotlib.pyplot as plt | |
import numpy as np |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from __future__ import print_function, division | |
import argparse | |
import os.path | |
from astropy.io import fits | |
from numba import njit, float64, prange | |
import numpy as np |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
import numpy as np | |
from casacore.tables import * | |
from askap.footprint import Skypos | |
if len(sys.argv) != 2: | |
sys.exit("Usage %s <ms_file>" %(sys.argv[0])) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
#SBATCH -M zeus | |
#SBATCH --cpus-per-task 24 | |
#SBATCH --mem 120G | |
#SBATCH -t 24:00:00 | |
#SBATCH --nodes 1 | |
#SBATCH --partition workq | |
#SBATCH --account pawsey0286 | |
#SBATCh --export=ABSMEM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
from __future__ import print_function, division | |
import argparse | |
from astropy.cosmology import Planck15 | |
import astropy.units as units | |
import matplotlib.pyplot as plt | |
import numpy as np |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
from __future__ import division, print_function | |
from astropy.cosmology import Planck15 | |
import astropy.units as units | |
import matplotlib.pyplot as plt | |
import numpy as np | |
redshift_slices = [0.01, 0.02, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3] | |
volumes = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <beam2016implementation.h> | |
#include <complex> | |
#include <math.h> | |
extern "C" { | |
Beam2016Implementation* beam_new(double* delays, double* amps, char* path) { | |
return new Beam2016Implementation(delays, amps, path); | |
} | |
void beam_del(Beam2016Implementation* beam) { |
OlderNewer