probe.data_loaders.stajconvert - Staj File Converter¶
Set all non-zero parameters to fitted parameters inside the model. |
|
Load a staj file as a model. |
|
Convert a loaded sta file to a refl1d experiment. |
|
Convert a loaded staj file to a refl1d experiment. |
|
Return an mlayer model based on the a slab stack. |
|
Save a model to a staj file. |
Convert staj files to refl1d
- refl1d.probe.data_loaders.stajconvert.fit_all(M, pmp=20)[source]¶
Set all non-zero parameters to fitted parameters inside the model.
- refl1d.probe.data_loaders.stajconvert.load_mlayer(filename, fit_pmp=0, name=None, layers=None)[source]¶
Load a staj file as a model.
- refl1d.probe.data_loaders.stajconvert.mlayer_magnetic_to_model(sta, name=None, layers=None)[source]¶
Convert a loaded sta file to a refl1d experiment.
Returns a new experiment
- refl1d.probe.data_loaders.stajconvert.mlayer_to_model(staj, name=None, layers=None)[source]¶
Convert a loaded staj file to a refl1d experiment.
Returns a new experiment