hop.target_selection package¶
Submodules¶
hop.target_selection.HectorSim module¶
- class hop.target_selection.HectorSim.HectorSim(entire_table, BoundaryType, zlimit, MstarMin, MstarMax, SparseFunction, SourceCat, MSparseCut1, minRe, total_area=nan, quiet=False, Dec_Min=nan, Dec_Max=nan)[source]¶
Bases:
objectA class to simulate obsverations for Hector.
- We load in a catalogue, select the columns we want, then make plots with (in general) three samples:
all objects above some limiting surface brightness (plotted in RED)
all objects given some selection function in mass (plotted in BLUE)
a subsample of the blue objects, given some sampling technique (plotted in MAGENTA)
- plot_SB_hist(fig, ax)[source]¶
Plot histograms of effective surface brightness within 1Re and surface brightness at 2 and 3Re.
- hop.target_selection.HectorSim.add_boxes_to_Mstar_z(fig, ax, table_data)[source]¶
Taken from original code, lines 1169 to 1204
- hop.target_selection.HectorSim.calculate_SB_at_R(Sersic_index, Mu_e, multiple_of_Re)[source]¶
Calculate a galaxy’s surface brightness at a given multiple of Re from its surface brightness at Re