write_hdf5

eazy.hdf5.write_hdf5(pzobj, h5file='test.hdf5', include_fit_coeffs=False, include_templates=True, verbose=True)[source]

Write self-contained HDF5 file

Parameters:
pzobjPhotoZ

Original code object with computed redshifts, coeffs, etc.

h5filestr

HDF5 filename

include_fit_coeffsbool

Inlude full fit_coeffs array with (NOBJ, NZ, NTEMP) fit coefficients. This can make the file very large, and it’s really only needed if you want to use prior_beta.

include_templatesbool

Include template arrays