The main analysis script, created the majority of my thesis plots Ch 4-5
Philosophy: name of plot is also name of the function
Classes
getDepth () |
limiting AB mag depth |
Functions
confusion_matrix_by_type (dat[, fn]) |
|
delta_dec_vs_delta_ra (dat[, fn, xlim, ylim, …]) |
|
delta_vs_grzmag (dat[, fn, delta, …]) |
|
e1_e2 (dat[, fn, nbins, recovered]) |
|
e1_e2_separate_panels (dat[, fn, nbins, …]) |
|
fix_for_delta_flux (dat[, fn, band]) |
|
fracin_vs_numstddev_2dhist (dat[, fn, …]) |
|
fraction_recovered (dat[, fn, …]) |
|
fraction_recovered_vs_rhalf (dat[, fn]) |
|
gauss_model (p, x) |
|
grz_hist_by_type (dat[, fn, x_ivar, glim, …]) |
|
grz_hist_elg_notelg (dat[, fn, glim, rlim, zlim]) |
|
grz_hist_input_ext (dat[, fn, glim, rlim, zlim]) |
|
grz_hist_input_ext_separate_panels (dat[, …]) |
|
grz_hist_input_noise_ext (dat[, fn, glim, …]) |
|
grz_hist_input_rec (dat[, fn, glim, rlim, zlim]) |
|
hist_all_quantities_fracin_cut (dat[, fn, …]) |
|
hist_true_rhalf_by_type (dat[, fn]) |
|
hist_true_rhalf_input (dat[, fn, ylims]) |
|
my_step (ax, bins, height[, lw, color, ls, label]) |
if plt.hist returns tuple (height,bins) then this reproces that plot. |
myhist (ax, data[, bins, color, normed, lw, …]) |
|
mytext (ax, x, y, text[, ha, va, fontsize, …]) |
adds text in x,y units of fraction axis |
num_std_dev_gaussfit_e1_e2 (dat[, fn, …]) |
|
num_std_dev_gaussfit_flux (dat[, fn, …]) |
|
num_std_dev_gaussfit_flux_separate_panels (dat) |
|
num_std_dev_gaussfit_rhalf (dat[, fn, …]) |
|
number_per_type_input_rec_meas (dat[, fn]) |
Horizontal Barplot |
rec_lost_contam_delta_by_type (dat[, fn, …]) |
|
rec_lost_contam_gr_rz (dat[, fn]) |
|
rec_lost_contam_grz (dat[, fn, x_ivar]) |
|
redshifts_recovered (dat[, fn]) |
|
residual_gaussfit_rhalf (dat[, fn, …]) |
created for typ PSF b/c there is no psfsize_grz_ivar, so cannot compute num_std_dev |
sum_of_noise_added (dat[, fn]) |
obiwan.qa.plots_randomsprops_fluxdiff.
my_step
(ax, bins, height, lw=2, color='b', ls='solid', label=None)[source]¶if plt.hist returns tuple (height,bins) then this reproces that plot.
e.g. bin centers and horizontal lines at the right place…
obiwan.qa.plots_randomsprops_fluxdiff.
mytext
(ax, x, y, text, ha='left', va='center', fontsize=20, rotation=0, color='k', dataCoords=False)[source]¶adds text in x,y units of fraction axis