Пример #1
0
    def do_uvby(self):
        obs_uvby = OpenCluster(self.objectname,
                               obsmode='uvby')
        obs_uvby.title = 'SOCS'
        obs_uvby.abstract = 'Photometric monitoring of open stellar clusters'

        obs_uvby_subframes = obs_uvby.plan_wifsip(self.nfields)
        obs_uvby_group = ClusterGroup(obs_uvby)

        for sf in obs_uvby_subframes:
            print(sf.uname)
            sf.tofile(self.projectpath)
            obs_uvby_group.add_daughter(sf.uname)
            if self.transfer: sf.transfer()
        obs_uvby_group.tofile(self.projectpath)
        if self.transfer:
            obs_uvby_group.transfer(self.projectpath)
Пример #2
0
def do_rot(transfer=False):

    m67rot = OpenCluster(objectname='M 67', uname='M 67 rot', obsmode='rot')
    m67rot.title = 'SOCS'
    m67rot.abstract = 'Photometric monitoring of open stellar clusters'

    m67rot_subframes = m67rot.plan_wifsip(nfields=4)
    m67rot_group = ClusterGroup(m67rot)

    for sf in m67rot_subframes:
        print(sf.uname)
        sf.tofile(config.projectpath)
        m67rot_group.add_daughter(sf.uname)
        if transfer: sf.transfer()
    m67rot_group.tofile(config.projectpath)
    if transfer:
        m67rot_group.transfer()
Пример #3
0
def do_cmd(transfer=False):
    ngc2422cmd = OpenCluster(objectname='NGC 2422',
                             uname='NGC 2422 BVR',
                             obsmode='BVR')
    ngc2422cmd.title = 'SOCS'
    ngc2422cmd.abstract = 'Photometric monitoring of open stellar clusters'

    ngc2422cmd_subframes = ngc2422cmd.plan_wifsip(nfields=5)
    ngc2422cmd_group = ClusterGroup(ngc2422cmd)

    for sf in ngc2422cmd_subframes:
        print sf.uname
        sf.tofile(config.projectpath)
        ngc2422cmd_group.add_daughter(sf.uname)
        if transfer: sf.transfer()
    ngc2422cmd_group.tofile(config.projectpath)
    if transfer:
        ngc2422cmd_group.transfer(config.projectpath)
Пример #4
0
def do_frot(transfer=False):
    ngc6940frot = OpenCluster(objectname='NGC 6940', obsmode='frot')
    ngc6940frot.mode['pernight'] = 6

    ngc6940frot.title = 'SOCS'
    ngc6940frot.abstract = 'Photometric monitoring of open stellar clusters'
    ngc6940frot_subframes = ngc6940frot.plan_wifsip(nfields=4)
    ngc6940frot_group = ClusterGroup(ngc6940frot)

    for sf in ngc6940frot_subframes:
        print(sf.uname, sf.duration)
        sf.tofile(config.projectpath)
        ngc6940frot_group.add_daughter(sf.uname)
        if transfer:
            sf.transfer()
    ngc6940frot_group.tofile(config.projectpath)
    if transfer:
        ngc6940frot_group.transfer()
Пример #5
0
def do_cmd(transfer=False):
    ngc1528cmd = OpenCluster(objectname='NGC 1528', obsmode='BVR')
    ngc1528cmd.title = 'SOCS'
    ngc1528cmd.abstract = 'Photometric monitoring of open stellar clusters'
    ngc1528cmd.startdate = datetime.datetime(2017, 9, 30)
    ngc1528cmd.enddate = datetime.datetime(2017, 10, 20)

    ngc1528cmd_subframes = ngc1528cmd.plan_wifsip(nfields=5)
    ngc1528cmd_group = ClusterGroup(ngc1528cmd)

    for sf in ngc1528cmd_subframes:
        print(sf.uname)
        sf.tofile(config.projectpath)
        ngc1528cmd_group.add_daughter(sf.uname)
        if transfer:
            sf.transfer()
    ngc1528cmd_group.tofile(config.projectpath)
    if transfer:
        ngc1528cmd_group.transfer()
Пример #6
0
    def do_rot(self):
        obs_rot = OpenCluster(self.objectname, obsmode='rot')
        obs_rot.title = 'SOCS'
        obs_rot.abstract = 'Photometric monitoring of open stellar clusters'

        # we do not need a central field
        rotfields = self.nfields
        if self.nfields == 5:
            rotfields = 4

        obs_rot_subframes = obs_rot.plan_wifsip(rotfields)
        obs_rot_group = ClusterGroup(obs_rot)

        for sf in obs_rot_subframes:
            print(sf.uname)
            sf.tofile(self.projectpath)
            obs_rot_group.add_daughter(sf.uname)
            if self.transfer: sf.transfer()
        obs_rot_group.tofile(self.projectpath)
        if self.transfer:
            obs_rot_group.transfer(self.projectpath)
Пример #7
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()
Пример #8
0
def do_rot(transfer=False):

    ngc2422rot = OpenCluster(objectname='NGC 2422',
                             uname='NGC 2422 rot',
                             obsmode='rot')
    '''
    override priority, so it doesn't overrule ngc2323
    '''
    ngc2422rot.priority = 0.8
    ngc2422rot.title = 'SOCS'
    ngc2422rot.abstract = 'Photometric monitoring of open stellar clusters'

    ngc2422rot_subframes = ngc2422rot.plan_wifsip(nfields=4)
    ngc2422rot_group = ClusterGroup(ngc2422rot)

    for sf in ngc2422rot_subframes:
        print sf.uname
        sf.tofile(config.projectpath)
        ngc2422rot_group.add_daughter(sf.uname)
        if transfer: sf.transfer()
    ngc2422rot_group.tofile(config.projectpath)
    if transfer:
        ngc2422rot_group.transfer()
Пример #9
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()