load

This module implements the tools to easily load BPASS data.

hoki.load.model_input(path)

Loads inputs from one file and put them in a dataframe

Parameters

path (str) – Path to the file containing the input data.

hoki.load.model_output(path, hr_type=None)

Loads a BPASS output file

Parameters
  • path (str) – Path to the file containing the target data.

  • hr_type (str, optional) – Type of HR diagram to load: ‘TL’, ‘Tg’ or ‘TTG’.

Returns

Output Data

Return type

pandas.DataFrame or hoki.hrdiagrams.HRDiagrams object