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' ])
def __init__(self): SNloopclass.__init__(self)
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)
def __init__(self): SNloopclass.__init__(self) self.filt_dict = None