Library of functions to produce plots related to galaxy surveys¶
This library provides plotting functions to compare different galaxy surveys
This library enables to plot the different surveys on the same basis.
-
lib_plot.
plotRaDecEBV
(ra, dec, ebv, name, pDir)[source]¶ creates a figure with ra, dec, coded with E(B-V). :param ra: column right ascension :param dec: column declination :param ebv: column E(B-V) :param name: name of the figure. :param pDir: where the figure will be saved.
-
lib_plot.
plotZ_EW
(zz, ew, name, ylab, pDir)[source]¶ creates a figure with redshift, equivalent width. :param zz: column redshift :param ew: column equivalent width :param name: name of the figure. :param ylab : y axis label :param pDir: where the figure will be saved.
-
lib_plot.
plotZ_Flux
(zz, ff, name, ylab, pDir, flux_limit=3e-17)[source]¶ creates a figure with redshift, line flux. :param zz: column redshift :param ff: column line flux :param name: name of the figure. :param ylab : y axis label :param pDir: where the figure will be saved.
-
lib_plot.
plotZ_Luminosity
(zz, lum, name, ylab, pDir, flux_limit=3e-17)[source]¶ creates a figure with redshift, luminosity. :param zz: column redshift :param ew: column luminosity :param name: name of the figure. :param ylab : y axis label :param pDir: where the figure will be saved.
-
lib_plot.
plotZ_Luminosity_Pdeg2
(zz, lum, WW, name, ylab, pDir, flux_limit=3e-17, line='O2_3728', cmax=1000)[source]¶ creates a figure with redshift, luminosity. :param zz: column redshift :param ew: column luminosity :param name: name of the figure. :param ylab : y axis label :param pDir: where the figure will be saved.
-
lib_plot.
plotZ_SSR
(zz, ssr, name, ylab, pDir)[source]¶ creates a figure with redshift, spectroscopic success rate. :param zz: column redshift :param ssr: column spectroscopic success rate :param name: name of the figure. :param ylab : y axis label :param pDir: where the figure will be saved.
-
lib_plot.
plot_EW_LF_measurement
(lf_fits_file, lf_measurement_file, plotDir)[source]¶ plot the LF and histograms of EW and luminosity.
-
lib_plot.
plot_EW_LF_measurement_simulation
(lf_fits_file, lf_measurement_file, plotDir, lfsdata)[source]¶ plot the LF and histograms of EW and luminosity.
-
lib_plot.
plot_I_TSR
(mag, tsr, name, ylab, pDir)[source]¶ creates a figure with magnitude and target sampling rate. :param mag: column selection band magnitude :param tsr: column target sampling rate :param name: name of the figure. :param ylab : y axis label :param pDir: where the figure will be saved.