spyfit.io.sfit4.read_param_iterations¶
-
spyfit.io.sfit4.
read_param_iterations
(filename, vdim='statevector', idim='iteration')¶ Read the state vector for each iteration in SFIT4 ascii output files.
Use this function to load ‘out.parm_vectors’.
Parameters: filename : str
Name or path to the file.
vdim : str
Name of the dimension of the statevector (default: ‘statevector’).
idim : str
Name of the dimension of the iterations (default: ‘iteration’).
Returns: dataset : dict
A CDM-structured dictionary.