model.HydrostaticEquilibrium.write_model_to_h5#

HydrostaticEquilibrium.write_model_to_h5(output_filename, in_cgs=False, r_min=None, r_max=None, overwrite=False)#

Write the equilibrium model to an HDF5 file.

Parameters:
  • output_filename (str) – The file to write the model to.

  • in_cgs (bool, optional) – Whether to convert the units to cgs before writing. Default False.

  • overwrite (bool, optional) – Overwrite an existing file with the same name. Default False.

  • r_min (float, optional) – The minimum radius to write too.

  • r_max (float, optional) – The maximum radius to write too.