ewoksfluo.xrffit.buffers.external.ExternalOutputBuffer#
- class ewoksfluo.xrffit.buffers.external.ExternalOutputBuffer(output_handler, diagnostics=False, figuresofmerit=False)[source]#
Bases:
object
This is an output buffer of an external output handler.
- Parameters:
output_handler (
AbstractOutputHandler
)diagnostics (
bool
)figuresofmerit (
bool
)
- allocateMemory(name, shape=None, dtype=None, data=None, fill_value=nan, group=None, labels=None, dataAttrs=None, **kw)[source]#
- Parameters:
name (
str
) – name of the dataset when group is specified, name of the group otherwisegroup (
Optional
[str
]) – name of the grouplabels (
Optional
[List
[str
]]) – dataset names when group is specified, not used otherwiseshape (
Optional
[Tuple
[int
]]) – total group shape when group is specified, dataset shape otherwisedtype (
Union
[dtype
[Any
],None
,type
[Any
],_SupportsDType
[dtype
[Any
]],str
,tuple
[Any
,int
],tuple
[Any
,Union
[SupportsIndex
,Sequence
[SupportsIndex
]]],list
[Any
],_DTypeDict
,tuple
[Any
,Any
]])data (
Optional
[ndarray
])fill_value (
Number
)dataAttrs (
Optional
[dict
])
- Return type:
Union
[ndarray
,List
[ndarray
]]
- property already_existed: bool#
- property diagnostics: bool#
- property output_root_uri: str | None#
- property saveData: bool#
- property saveDataDiagnostics: bool#
- property saveFOM: bool#
- property saveFit: bool#
- property saveResiduals: bool#
- property xrf_results_uri: str | None#