def __init__(self, **specs):

        #define mapping between attributes we need and the IPAC data
        #table loaded in the Planet Population module
        self.atts_mapping = {
            'Name': 'pl_hostname',
            'Spec': 'st_spstr',
            'parx': 'st_plx',
            'Umag': 'st_uj',
            'Bmag': 'st_bj',
            'Vmag': 'st_vj',
            'Rmag': 'st_rc',
            'Imag': 'st_ic',
            'Jmag': 'st_j',
            'Hmag': 'st_h',
            'Kmag': 'st_k',
            'dist': 'st_dist',
            'BV': 'st_bmvj',
            'L': 'st_lum',  #ln(solLum)
            'pmra': 'st_pmra',  #mas/year
            'pmdec': 'st_pmdec',  #mas/year
            'rv': 'st_radv'
        }

        TargetList.__init__(self, **specs)
 def __init__(self, **specs):
     
     #define mapping between attributes we need and the IPAC data
     #table loaded in the Planet Population module
     self.atts_mapping = {'Name':'pl_hostname',
                          'Spec':'st_spstr',
                          'parx':'st_plx',
                          'Umag':'st_uj',
                          'Bmag':'st_bj',
                          'Vmag':'st_vj',
                          'Rmag':'st_rc',
                          'Imag':'st_ic',
                          'Jmag':'st_j',
                          'Hmag':'st_h',
                          'Kmag':'st_k',
                          'dist':'st_dist',
                          'BV':'st_bmvj',
                          'L':'st_lum', #log(Lsun)
                          'pmra':'st_pmra', #mas/year
                          'pmdec':'st_pmdec', #mas/year
                          'rv': 'st_radv'}
     
     TargetList.__init__(self, **specs)
    def __init__(self, **specs):

        TargetList.__init__(self, **specs)
Esempio n. 4
0
    def __init__(self, **specs):

        TargetList.__init__(self, **specs)