histopath_bim_des.config.batching moduleο
Batching configuration module for the histopath simulation model.
- class histopath_bim_des.config.batching.BatchSizes(*, deliver_reception_to_cut_up: int, deliver_cut_up_to_processing: int, deliver_processing_to_microtomy: int, deliver_microtomy_to_staining: int, deliver_staining_to_labelling: int, deliver_labelling_to_scanning: int, deliver_scanning_to_qc: int, bone_station: int, processing_regular: int, processing_megas: int, staining_regular: int, staining_megas: int, digital_scanning_regular: int, digital_scanning_megas: int)[source]ο
Bases:
BaseModel
Information for tracking batch sizes in a model. This is the number of specimens, blocks, or slides in a machine or delivery batch. Batches in the model are homogeneous, i.e. all items in a batch are of the same type.
The field titles in this class MUST match the rows of the Excel input file (βBatch Sizesβ tab).
- static from_workbook(wbook: Workbook) BatchSizes [source]ο
Construct a dataclass instance from an Excel workbook.
- Parameters:
wbook β The Excel workbook to parse.
- Returns:
The parsed dataclass instance.