Exemplo n.º 1
0
    def do_cmd(self):
        obs_cmd = OpenCluster(self.objectname, obsmode='BVR')
        obs_cmd.title = 'SOCS'
        obs_cmd.abstract = 'Photometric monitoring of open stellar clusters'

        obs_cmd_subframes = obs_cmd.plan_wifsip(self.nfields)
        obs_cmd_group = ClusterGroup(obs_cmd)

        for sf in obs_cmd_subframes:
            print(sf.uname)
            sf.tofile(self.projectpath)
            obs_cmd_group.add_daughter(sf.uname)
            if self.transfer: sf.transfer()
        obs_cmd_group.tofile(self.projectpath)
        if self.transfer:
            obs_cmd_group.transfer(self.projectpath)
Exemplo n.º 2
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()
Exemplo n.º 3
0
def do_cmd(transfer=False):
    m67cmd = OpenCluster(objectname='M 67', uname='M 67 BVR', obsmode='BVR')
    m67cmd.title = 'SOCS'
    m67cmd.abstract = 'Photometric monitoring of open stellar clusters'

    m67cmd_subframes = m67cmd.plan_wifsip(nfields=5)
    m67cmd_group = ClusterGroup(m67cmd)

    for sf in m67cmd_subframes:
        print(sf.uname)
        sf.tofile(config.projectpath)
        m67cmd_group.add_daughter(sf.uname)
        if transfer: sf.transfer()
    m67cmd_group.tofile(config.projectpath)
    if transfer:
        m67cmd_group.transfer()
Exemplo n.º 4
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)
Exemplo n.º 5
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()
Exemplo n.º 6
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()
Exemplo n.º 7
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)
Exemplo n.º 8
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()
Exemplo n.º 9
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()
Exemplo n.º 10
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()