From 64d6452ab46202da7f33ab02aedfc914708dadaa Mon Sep 17 00:00:00 2001 From: Sam Bates Date: Wed, 15 Jan 2014 14:48:14 +0000 Subject: [PATCH] Added SKA models --- features_to_add.txt | 3 +-- lib/python/populate.py | 2 +- lib/python/survey.py | 4 ++-- lib/surveys/SKA_aa_400 | 8 ++++---- lib/surveys/SKA_mid_allsky_band1 | 23 +++++++++++++++++++++++ lib/surveys/SKA_mid_allsky_band2 | 23 +++++++++++++++++++++++ 6 files changed, 54 insertions(+), 9 deletions(-) create mode 100644 lib/surveys/SKA_mid_allsky_band1 create mode 100644 lib/surveys/SKA_mid_allsky_band2 diff --git a/features_to_add.txt b/features_to_add.txt index dfee48e..f8c05fa 100644 --- a/features_to_add.txt +++ b/features_to_add.txt @@ -1,5 +1,4 @@ Suggested future features: - Keep track of which pulsars are found in which surveys? - - RRATs? + - RRATs / nullers -- just have a switch for a on fraction? - Binary parameters & effect on SNR (cf. Bagchi paper) - - Scintillation effects? diff --git a/lib/python/populate.py b/lib/python/populate.py index f4db662..c77e415 100755 --- a/lib/python/populate.py +++ b/lib/python/populate.py @@ -487,7 +487,7 @@ def _sindegree(angle): # pulse width model parser.add_argument('-w', type=float, required=False, default=6, - help='pulse width, percent (def=6%) ') + help='pulse width, percent (def=6) ') # spectral index distribution parser.add_argument('-si', nargs=2, type=float, diff --git a/lib/python/survey.py b/lib/python/survey.py index beac2a4..e3dd059 100755 --- a/lib/python/survey.py +++ b/lib/python/survey.py @@ -52,7 +52,7 @@ def __init__(self, coord1, coord2, coordtype, gain, tobs): class Survey: """Class to store survey parameters and methods""" - def __init__(self, surveyName): + def __init__(self, surveyName, pattern='gaussian'): """Read in a survey file and obtain the survey parameters""" # try to open the survey file locally first @@ -76,7 +76,7 @@ def __init__(self, surveyName): # initialise the pointings list to None # only change this is there is a list of pointings to be used self.pointingslist = None - self.gainpat = 'gaussian' + self.gainpat = pattern # adding AA parameter, so can scale s/n if the survey is # an aperture array diff --git a/lib/surveys/SKA_aa_400 b/lib/surveys/SKA_aa_400 index f3aaa9c..02e0407 100644 --- a/lib/surveys/SKA_aa_400 +++ b/lib/surveys/SKA_aa_400 @@ -2,8 +2,8 @@ # model of the Parkes multibeam survey - main parameters ############################################################################### 1.0 ! survey degradation factor - 13.4 ! antenna gain (K/Jy) - 600 ! integration time (s) + 23.4 ! antenna gain (K/Jy) + 1800 ! integration time (s) 0.10 ! sampling time (ms) 43. ! system temperature (K) 300 ! centre frequency (MHz) @@ -17,8 +17,8 @@ 30. ! maximum DEC (deg) -180 ! minimum Galactic longitude (deg) 180. ! maximum Galactic longitude (deg) - 0. ! minimum abs(Galactic latitude) (deg) - 15. ! maximum abs(Galactic latitude) (deg) + 5. ! minimum abs(Galactic latitude) (deg) + 90. ! maximum abs(Galactic latitude) (deg) 1.0 ! fractional survey coverage (0-1) 9.0 ! signal-to-noise ratio AA ! Aperture Array diff --git a/lib/surveys/SKA_mid_allsky_band1 b/lib/surveys/SKA_mid_allsky_band1 new file mode 100644 index 0000000..3805eb3 --- /dev/null +++ b/lib/surveys/SKA_mid_allsky_band1 @@ -0,0 +1,23 @@ +############################################################################### +# model of the Parkes multibeam survey - main parameters +############################################################################### + 1.0 ! survey degradation factor + 3.64 ! antenna gain (K/Jy) + 600 ! integration time (s) + 0.1 ! sampling time (ms) + 28. ! system temperature (K) + 1000 ! centre frequency (MHz) + 150 ! bandwidth (MHz) + 0.009 ! channel bandwidth (MHz) + 2 ! number of polarizations + 65.5 ! full-width half maximum (arcmin) + 0. ! minimum RA (deg) + 360. ! maximum RA (deg) + -90. ! minimum DEC (deg) + 30. ! maximum DEC (deg) + -180 ! minimum Galactic longitude (deg) + 180. ! maximum Galactic longitude (deg) + 0. ! minimum abs(Galactic latitude) (deg) + 90. ! maximum abs(Galactic latitude) (deg) + 1.0 ! fractional survey coverage (0-1) + 9.0 ! signal-to-noise ratio diff --git a/lib/surveys/SKA_mid_allsky_band2 b/lib/surveys/SKA_mid_allsky_band2 new file mode 100644 index 0000000..5557245 --- /dev/null +++ b/lib/surveys/SKA_mid_allsky_band2 @@ -0,0 +1,23 @@ +############################################################################### +# model of the Parkes multibeam survey - main parameters +############################################################################### + 1.0 ! survey degradation factor + 4.5 ! antenna gain (K/Jy) + 1800 ! integration time (s) + 0.1 ! sampling time (ms) + 20. ! system temperature (K) + 1400 ! centre frequency (MHz) + 300 ! bandwidth (MHz) + 0.009 ! channel bandwidth (MHz) + 2 ! number of polarizations + 4.5 ! full-width half maximum (arcmin) + 0. ! minimum RA (deg) + 360. ! maximum RA (deg) + -90. ! minimum DEC (deg) + 30. ! maximum DEC (deg) + -180 ! minimum Galactic longitude (deg) + 180. ! maximum Galactic longitude (deg) + 0. ! minimum abs(Galactic latitude) (deg) + 90. ! maximum abs(Galactic latitude) (deg) + 1.0 ! fractional survey coverage (0-1) + 9.0 ! signal-to-noise ratio