full_sed_plotΒΆ

grizli.fitting.full_sed_plot(mb, tfit, zfit=None, bin=1, minor=0.1, save='png', sed_resolution=180, photometry_pz=None, zspec=None, spectrum_steps=False, xlim=[0.3, 9], **kwargs)[source]ΒΆ

Make a separate plot showing photometry and the spectrum

Parameters:
mbMultiBeam

Object containing the beams spectra.

tfitdict

Dictionary of fit results (templates, coefficients, etc) from template_at_z

zfitTable

Redshift fit information used to draw p(z) panel (this is fit as output by run_all)

binfloat

Binning factor relative to nominal spectral sampling of each grism

minorfloat

Ticks on wavelength axis (microns)

savestr

Extension of figure file to save

sed_resolutionfloat

Smooth the 1D template before plotting with resolution R = lam/dlam

photometry_pz(float, float)

p(z) for the photometry fit alone, as output by, e.g., eazy.

zspecfloat

(external) spectroscopic redshift that will be indicated on the plot

spectrum_stepsbool

Plot grism spectra as steps rather than scatter points

xlim(float, float)

Wavelength limits (microns)

Returns:
figmatplotlib.figure.Figure

The figure object