class foxes.output.Output[source]

Base class for foxes output.

The job of this class is to provide handy helper functions.

Attributes

out_dir: pathlib.Path

The output file directory

out_fname_fun: Function, optional

Modifies file names by f(fname)

Public members

Output(out_dir=None, out_fname_fun=None)[source]

Constructor.

get_fpath(fname)[source]

Gets the total file path

write(file_name, data, format_col2var={}, format_dict={}, **kwargs)[source]

Writes data to file via pandas.

classmethod print_models()[source]

Prints all model names.

classmethod new(output_type, *args, **kwargs)[source]

Run-time output model factory.