ptypy.core.sample.init_storage#

ptypy.core.sample.init_storage(storage, sample_pars=None, energy=None)#

Initializes a storage as sample transmission.

Parameters:
  • storage (Storage) – The object Storage to initialize

  • 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 Geo instance: storage.views[0].pod.geometry.energy