Example #1
0
    def __init__(self):
        SNloopclass.__init__(self)

        self.cfg = yamlcfgclass()
        self.debug = False
        self.outrootdir = None
        self.snlist = pdastroclass(columns=[
            'atlasdesignation', 'otherdesignation', 'ra', 'dec',
            'spectraltype', 'earliestmjd', 'tnsname', 'closebrightRA',
            'closebrightDec', 'MJDpreSN'
        ])
        self.snlistsurvey = pdastroclass(columns=[
            'atlasdesignation', 'otherdesignation', 'ra', 'dec',
            'spectraltype', 'earliestmjd', 'tnsname', 'closebrightRA',
            'closebrightDec', 'MJDpreSN'
        ])
Example #2
0
 def __init__(self):
     SNloopclass.__init__(self)
Example #3
0
	def define_options(self, **kwargs):
		parser = SNloopclass.define_options(self, **kwargs)
		parser.add_argument('--sim_gaussian', nargs=3, default=None, help=('Comma-separated peakMJD list, peak_appmag, gaussian_sigma: add a Gaussian at peakMJD with a peak apparent magnitude of peak_appmag and a sigma of gaussian_sigma in days.'))
		return(parser)
Example #4
0
	def __init__(self):
		SNloopclass.__init__(self)

		self.filt_dict = None