Beispiel #1
0
def do_rot(transfer=False):
    ngc1528rot = OpenCluster(objectname='NGC 1528', obsmode='rot')
    ngc1528rot_subframes = ngc1528rot.plan_wifsip(nfields=4)
    ngc1528rot_group = ClusterGroup(ngc1528rot)
    ngc1528rot_group.startdate = datetime.datetime(2018, 8, 16)
    ngc1528rot_group.enddate = datetime.datetime(2019, 4, 14)

    for sf in ngc1528rot_subframes:
        print(sf.uname, sf.duration)
        sf.tofile(config.projectpath)
        ngc1528rot_group.add_daughter(sf.uname)
        if transfer:
            sf.transfer()
    ngc1528rot_group.tofile(config.projectpath)
    if transfer:
        ngc1528rot_group.transfer()
Beispiel #2
0
def do_rot(transfer=False):

    ngc2281rot = OpenCluster(objectname='NGC 2281',
                             uname='NGC 2281 rot',
                             obsmode='rot')

    ngc2281rot.title = 'SOCS'
    ngc2281rot.abstract = 'Photometric monitoring of open stellar clusters'
    ngc2281rot_subframes = ngc2281rot.plan_wifsip(nfields=4)
    ngc2281rot_group = ClusterGroup(ngc2281rot)
    ngc2281rot_group.startdate = datetime.datetime(2016, 8, 20)
    ngc2281rot_group.enddate = datetime.datetime(2017, 5, 13)

    for sf in ngc2281rot_subframes:
        print sf.uname, sf.duration
        sf.tofile(config.projectpath)
        ngc2281rot_group.add_daughter(sf.uname)
        if transfer:
            sf.transfer()
    ngc2281rot_group.tofile(config.projectpath)
    if transfer:
        ngc2281rot_group.transfer()
Beispiel #3
0
def do_rot(transfer=False):
    import datetime

    ngc6940rot = OpenCluster(objectname='NGC 6940', obsmode='rot')
    ngc6940rot.priority = 0.5
    ngc6940rot.mode['pernight'] = 6

    ngc6940rot.title = 'SOCS'
    ngc6940rot.abstract = 'Photometric monitoring of open stellar clusters'
    ngc6940rot_subframes = ngc6940rot.plan_wifsip(nfields=4)
    ngc6940rot_group = ClusterGroup(ngc6940rot)
    ngc6940rot_group.startdate = datetime.datetime(2017, 4, 15)
    ngc6940rot_group.enddate = datetime.datetime(2017, 12, 29)

    for sf in ngc6940rot_subframes:
        print(sf.uname, sf.duration)
        sf.tofile(config.projectpath)
        ngc6940rot_group.add_daughter(sf.uname)
        if transfer:
            sf.transfer()
    ngc6940rot_group.tofile(config.projectpath)
    if transfer:
        ngc6940rot_group.transfer()