Skip to content

Commit

Permalink
Added SKA models
Browse files Browse the repository at this point in the history
  • Loading branch information
samb8s committed Jan 15, 2014
1 parent 634d7bb commit 64d6452
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 9 deletions.
3 changes: 1 addition & 2 deletions features_to_add.txt
Original file line number Diff line number Diff line change
@@ -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?
2 changes: 1 addition & 1 deletion lib/python/populate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions lib/python/survey.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions lib/surveys/SKA_aa_400
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
23 changes: 23 additions & 0 deletions lib/surveys/SKA_mid_allsky_band1
Original file line number Diff line number Diff line change
@@ -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
23 changes: 23 additions & 0 deletions lib/surveys/SKA_mid_allsky_band2
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 64d6452

Please sign in to comment.