def sedm(p60_telescope): instrument = InstrumentFactory( name=f'SEDM_{uuid.uuid4()}', type='imaging spectrograph', telescope=p60_telescope, band='Optical', filters=['sdssu', 'sdssg', 'sdssr', 'sdssi'], api_classname='SEDMAPI', listener_classname='SEDMListener', ) yield instrument InstrumentFactory.teardown(instrument)
def lris(keck1_telescope): instrument = InstrumentFactory( name=f'LRIS_{uuid.uuid4()}', type='imaging spectrograph', telescope=keck1_telescope, band='Optical', filters=[ 'sdssu', 'sdssg', 'sdssr', 'sdssi', 'sdssz', 'bessellux', 'bessellv', 'bessellb', 'bessellr', 'besselli', ], ) yield instrument InstrumentFactory.teardown(instrument)
def ztf_camera(): return InstrumentFactory()
def ztf_camera(): instrument = InstrumentFactory() yield instrument InstrumentFactory.teardown(instrument)