# MAIN BODY # #-----------------------------------------------------------# #-----------------------------------------------------------# ############################################################# # Set the directories in which the data resides work_directory = "/Users/kianalexandershakerin/Desktop/fife/dissertation/clustering_analysis/" data_directory = work_directory + "catalogues/" # Set the data file names from directory on computer DR7_data_filename = "post_catalog.dr72bright0.fits" DR7_randoms_filename0 = "random-0.dr72bright.fits" DR7_randoms_filename1 = "random-1.dr72bright.fits" DR7_randoms_filename10 = "random-10.dr72bright.fits" MaNGA_targets_filename = "MaNGA_targets_extNSA_tiled_ancillary.fits" # Imports the DR7 RA/DEC/z/mag (RA_d, DEC_d, z_d, mr) = md.DR7_data_importer(data_directory + DR7_data_filename) # Read in the Random data filenames = [data_directory + DR7_randoms_filename0, data_directory + DR7_randoms_filename1, data_directory + DR7_randoms_filename10] (RA_r, DEC_r) = md.DR7_randoms_importer(filenames) # Read in the MaNGA Target Catalogue data (RA_mng, DEC_mng, z_mng, mr_mng) = md.MANGA_data_importer(data_directory + MaNGA_targets_filename) # Set the RA/DEC window for galaxy observations (RA_low, RA_high, DEC_low, DEC_high) = md.initialize_window(170, 20, 2, 2) # Set bins bin_num = 10 bin_select = np.logspace(np.log10(0.1), np.log10(50), bin_num, endpoint=True) ######################## # Select data galaxies #
############################################################# # Set the directories in which the data resides work_directory = "/Users/kianalexandershakerin/Desktop/fife/dissertation/clustering_analysis/" data_directory = work_directory + "catalogues/" # Set the data file names from directory on computer DR7_data_filename = "post_catalog.dr72bright0.fits" DR7_randoms_filename0 = "random-0.dr72bright.fits" DR7_randoms_filename1 = "random-1.dr72bright.fits" DR7_randoms_filename10 = "random-10.dr72bright.fits" MaNGA_targets_filename = "MaNGA_targets_extNSA_tiled_ancillary.fits" MaNGA_kinematics_filename = "mpl6_basic_kinematic_info.csv" #NOTE: CSV MaNGA_properties_filename = "manga_firefly-v2_4_3-GLOBALPROP.fits" # Imports the DR7 RA/DEC/z/mag (RA_d, DEC_d, z_d, mr) = md.DR7_data_importer(data_directory + DR7_data_filename) # Read in the Random data filenames = [ data_directory + DR7_randoms_filename0, data_directory + DR7_randoms_filename1, data_directory + DR7_randoms_filename10 ] (RA_r, DEC_r) = md.DR7_randoms_importer(filenames) # Read in the MaNGA Target Catalogue data (RA_mng, DEC_mng, z_mng, mr_mng, corr) = md.MANGA_data_importer(data_directory + MaNGA_targets_filename) #print(corr[0:5]) # Set the RA/DEC window for galaxy observations (RA_low, RA_high, DEC_low, DEC_high) = md.initialize_window(180, 10, 5, 5) win = [RA_low, RA_high, DEC_low, DEC_high] # Set bins