Input/Output

This subpackage contains various routines to read in different input files and to process the information. The main goal is to convert the information from the input files to a format that can be used by the Builder class and to save the data in input formats supported by other software.

Input/Output Functions

These are the main input output functions for the user.

load(infile)

Recreates the instance from a pickled state.

save(object, path[, compress])

Saves the instance from a pickled state.

save_grogupy(builder[, path])

Creates a grogupy output file.

read_grogupy(file)

This function reads the grogupy input file and returns a Builder object

save_magnopy(builder[, path, spin_moment, ...])

Creates a magnopy input file.

save_UppASD(builder[, folder, fast_compare, ...])

Writes the UppASD input files to the given folder.

save_Vampire(builder[, folder, ...])

Writes the Vampire input files to the given folder.

save_HDF5(builder, path)

Creates a HDF5 output file.

read_fdf(path)

It reads the simulation parameters, magnetic entities and pairs from an fdf file.

read_py(path)

Reading input parameters from a .py file.