ptypy.core.sample.init_storage#
- ptypy.core.sample.init_storage(storage, sample_pars=None, energy=None)#
Initializes a storage as sample transmission.
- Parameters:
sample_pars (Param) – Parameter structure that defines how the sample is created. FIXME Link to parameters
energy (float, optional) – Energy associated in the experiment for this sample object. If None, the ptypy structure is searched for the appropriate
Geoinstance:storage.views[0].pod.geometry.energy