Core API¶
PtyLab
¶
easyInitialize(filename, engine=Engines.ePIE, operationMode='CPM', dummyMonitor=False)
¶
Initialize the main PtyLab components for CPM or FPM reconstruction.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filename
|
Path
|
Path to the experimental data file. |
required |
engine
|
BaseEngine
|
EReconstruction engine class to instantiate.
Defaults to |
ePIE
|
operationMode
|
str
|
Operation mode, either |
'CPM'
|
dummyMonitor
|
bool
|
If True, use a dummy monitor without graphical output. Defaults to False. |
False
|
Returns:
| Type | Description |
|---|---|
tuple
|
Initialized PtyLab objects required for the reconstruction. |
Raises:
| Type | Description |
|---|---|
NotImplementedError
|
If |