예제 #1
0
        if 1:
            fileList.append(arg)

    # Get the primary star vsini values
    prim_vsini = StarData.get_vsini(fileList)

    # Use this one for the real data search
    GenericSearch.slow_companion_search(fileList, prim_vsini,
                                        hdf5_file=hdf5_filename,
                                        extensions=True,
                                        resolution=None,
                                        trimsize=trimsize,
                                        modeldir=modeldir,
                                        badregions=badregions,
                                        metal_values=(0.0, -0.5, 0.5),
                                        vsini_values=(1, 5.0, 10.0, 20.0, 30),
                                        Tvalues=range(9000, 12000, 100),
                                        # Tvalues = [5300,],
                                        #metal_values=[-0.5,],
                                        #vsini_values=[5,],
                                        observatory='CTIO',
                                        debug=False,
                                        vbary_correct=True,
                                        addmode='all',
                                        output_mode='hdf5')
    """
    
    # Use this one for the synthetic binary search
    GenericSearch.slow_companion_search(fileList, prim_vsini,
                                        hdf5_file='/media/ExtraSpace/PhoenixGrid/CHIRON_Grid.hdf5',
                                        extensions=True,
                                        resolution=None,
예제 #2
0
    # Remove anything without a vsini
    new_file_list = []
    new_prim_vsini = []
    for vsini, fname in zip(prim_vsini, fileList):
        if vsini is not None:
            new_file_list.append(fname)
            new_prim_vsini.append(vsini)
        else:
            print('No vsini found for file {}'.format(fname))

    GenericSearch.slow_companion_search(new_file_list, new_prim_vsini,
                                        hdf5_file=hdf5_filename,
                                        extensions=True,
                                        resolution=None,
                                        trimsize=trimsize,
                                        modeldir=modeldir,
                                        badregions=badregions,
                                        interp_regions=interp_regions,
                                        #metal_values=(0, -0.5, 0.5),
                                        metal_values=(0.5,),
                                        # vsini_values=(1, 5.0, 10.0, 20.0, 30.0),
                                        logg_values=(4.5),
                                        Tvalues=range(8800, 9000, 100),
                                        vsini_values=(1, 5, 10, 20, 30),
                                        observatory='McDonald',
                                        debug=False,
                                        vbary_correct=True,
                                        addmode='all',
                                        output_mode='hdf5')

예제 #3
0
        if 1:
            fileList.append(arg)

    # Get the primary star vsini values
    prim_vsini = [None for _ in fileList]

    # Use this one for the real data search
    Tvalues = range(7000, 10000, 200) + range(10000, 30000, 400)
    Tvalues = range(7000, 10000, 250) + range(10000, 30000, 500)
    GenericSearch.slow_companion_search(fileList, prim_vsini,
                                        hdf5_file=hdf5_filename,
                                        extensions=True,
                                        resolution=None,
                                        trimsize=trimsize,
                                        modeldir=modeldir,
                                        badregions=badregions,
                                        metal_values=(0.0),
                                        logg_values=(3.5, 4.0, 4.5,),
                                        vsini_values=range(75, 300, 25),
                                        #logg_values=(4.5,),
                                        #vsini_values=(250,),
                                        #Tvalues=(9250,),
                                        Tvalues=Tvalues,
                                        observatory='McDonald',
                                        debug=False,
                                        reject_outliers=False,
                                        vbary_correct=True,
                                        addmode='all',
                                        output_mode='hdf5',
                                        output_file='CCF_primary_total.hdf5')