ewoksdata.data.hdf5.dataset_writer.StackDatasetWriter¶
- class ewoksdata.data.hdf5.dataset_writer.StackDatasetWriter(parent, name, npoints=None, nstack=None, attrs=None, flush_period=None)[source]¶
Bases:
_DatasetWriterBase
- Parameters:
parent (
Group
) –name (
str
) –npoints (
Optional
[NewType()
(StrictPositiveIntegral
,Integral
)]) –nstack (
Optional
[NewType()
(StrictPositiveIntegral
,Integral
)]) –attrs (
Optional
[dict
]) –flush_period (
Optional
[float
]) –
- add_point(data, stack_index)[source]¶
- Parameters:
data (
Union
[_SupportsArray
[dtype
],_NestedSequence
[_SupportsArray
[dtype
]],bool
,int
,float
,complex
,str
,bytes
,_NestedSequence
[Union
[bool
,int
,float
,complex
,str
,bytes
]]]) –stack_index (
int
) –
- Return type:
bool
- add_points(data, stack_index)[source]¶
- Parameters:
data (
Union
[_SupportsArray
[dtype
],_NestedSequence
[_SupportsArray
[dtype
]],bool
,int
,float
,complex
,str
,bytes
,_NestedSequence
[Union
[bool
,int
,float
,complex
,str
,bytes
]]]) –stack_index (
int
) –
- Return type:
bool
- property dataset: Dataset | None¶
- property dataset_name: str¶