def xinglong_216cm(): telescope = TelescopeFactory( name=f'Xinglong 2.16m_{uuid.uuid4()}', nickname='XL216_{uuid.uuid4()}', lat=40.004463, lon=116.385556, elevation=950.0, diameter=2.16, ) telescope_id = telescope.id yield telescope TelescopeFactory.teardown(telescope_id)
def wise_18inch(): telescope = TelescopeFactory( name=f'Wise 18-inch Telescope_{uuid.uuid4()}', nickname=f'Wise18_{uuid.uuid4()}', lat=34.763333, lon=30.595833, elevation=875, diameter=0.46, ) telescope_id = telescope.id yield telescope TelescopeFactory.teardown(telescope_id)
def p60_telescope(): observer = astroplan.Observer.at_site('Palomar') telescope = TelescopeFactory( name=f'Palomar 60-inch telescope_{uuid.uuid4()}', nickname=f'p60_{uuid.uuid4()}', lat=observer.location.lat.to('deg').value, lon=observer.location.lon.to('deg').value, elevation=observer.location.height.to('m').value, diameter=1.6, ) telescope_id = telescope.id yield telescope TelescopeFactory.teardown(telescope_id)
def keck1_telescope(): observer = astroplan.Observer.at_site('Keck') telescope = TelescopeFactory( name=f'Keck I Telescope_{uuid.uuid4()}', nickname=f'Keck1_{uuid.uuid4()}', lat=observer.location.lat.to('deg').value, lon=observer.location.lon.to('deg').value, elevation=observer.location.height.to('m').value, diameter=10.0, ) telescope_id = telescope.id yield telescope TelescopeFactory.teardown(telescope_id)
def hst(): telescope = TelescopeFactory( name=f'Hubble Space Telescope_{uuid.uuid4()}', nickname=f'HST_{uuid.uuid4()}', lat=0, lon=0, elevation=0, diameter=2.0, fixed_location=False, ) telescope_id = telescope.id yield telescope TelescopeFactory.teardown(telescope_id)