示例#1
0
def keck1_telescope():
    observer = astroplan.Observer.at_site('Keck')
    return TelescopeFactory(
        name=f'Keck I Telescope_{uuid.uuid4()}',
        nickname='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,
    )
示例#2
0
def p60_telescope():
    observer = astroplan.Observer.at_site('Palomar')
    return TelescopeFactory(
        name=f'Palomar 60-inch telescope_{uuid.uuid4()}',
        nickname='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,
    )
示例#3
0
def hst():
    return 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,
    )