xraypy / xraylarch

Larch: Applications and Python Library for Data Analysis of X-ray Absorption Spectroscopy (XAS, XANES, XAFS, EXAFS), X-ray Fluorescence (XRF) Spectroscopy and Imaging, and more.
https://xraypy.github.io/xraylarch
Other
128 stars 62 forks source link

Save/Restore to HDF5 #11

Open newville opened 11 years ago

newville commented 11 years ago

need save/restore functionality:

save_group(filename, *args)

to save groups or data listed to an HDF5 file, with some Larch-specific metadata to signal how to read it back, and a corresponding

data = restore_group(filename, itemname) 

Possibly include an optional:

restore_group(filename, all=True) 

to restore all groups to their saved names in the current session.

Unlike hdf5_group(), this should open, read, copy data into session, and close the save file.

newville commented 11 years ago

seems to be work, but needs more exercising and testing. Especially needed are params / fits for bothe minimize() and feffit().

maurov commented 5 months ago

Related to #363