ptypy.core.manager.ModelManager#

class ptypy.core.manager.ModelManager(ptycho, pars)#

Bases: object

Thin wrapper class which now just interfaces Ptycho with ScanModel. This should probably all be done directly in Ptycho.

__init__(ptycho, pars)#
Parameters:
  • ptycho (Ptycho) – The parent Ptycho object

  • pars (dict or Param) – The .scans tree of the Ptycho parameters.

Methods

__init__(ptycho, pars)

new_data()

Get all new diffraction patterns and create all views and pods accordingly.s

Attributes

data_available

end_of_scan

new_data()#

Get all new diffraction patterns and create all views and pods accordingly.s