kaitiaki.file_handlers.outfile
Exceptions
Common base class for all non-exit exceptions. |
Classes
Represents an out file object. |
|
Represents an out file object. |
Functions
|
Module Contents
- exception kaitiaki.file_handlers.outfile.DeprecationWarning
Bases:
ExceptionCommon base class for all non-exit exceptions.
- kaitiaki.file_handlers.outfile.get_last_converged_model(file)
- class kaitiaki.file_handlers.outfile.ModelSummary(model)
- _parse_block(model)
- _modelnum
- _mass
- nan_num()
- original_format()
- get(param, at=None)
- all_attributes()
- __str__()
- class kaitiaki.file_handlers.outfile.outfile(file='out', reindex_modelnums=False)
Represents an out file object.
- _get_models_from_contents(contents, reindex_modelnums)
- _get_profiles_from_contents(contents, K=199)
- _tomso(filename)
Reads a STARS out file and returns (part of) the summaries and profiles in two structured arrays.
- Parameters:
filename (str) – Filename of the STARS output file to load.
- Returns:
summaries (2-d structured array) – Summaries of each model in the run, similar to MESA’s history files.
profiles (3-d structured array) – Model profiles produced at regular intervals during the run. The first index of the array is the profile number.
- _models
- _profiles
- __size = 0
- __detailed_idx = 0
- __del__()
- get_by_modelnum(modelnum)
- get(param, at=None)
- detailed_profile(idx)
- detailed_profile_history()
- __iter__()
- __next__()
- __len__()
- last()
- find_column(param: str)
- build_network(param: str)
- visualise_parameter_network(param: str, mode: str = '2d', nrows: int = 1, ncols: int = 1, fidelity: int = 100, span: tuple = (None, None), make_cbar: bool = True, figsize=None, transform=lambda x: ..., ax=None)