image_selection_algorithm
For selection of images related to patients for upload.
Classes
ImageSelectionAlgorithm
class ImageSelectionAlgorithm( datastructure: DataStructure, **kwargs: Any,):
Algorithm for selecting images related to a patient.
Initialize the algorithm.
Arguments
datastructure
: The data structure definitionpatient_ids
: The patients for whom to identify a list of images.- **
**kwargs
**: Additional keyword arguments.
Ancestors
- BaseNonModelAlgorithmFactory
- BaseAlgorithmFactory
- abc.ABC
- bitfount.federated.roles._RolesMixIn
- bitfount.types._BaseSerializableObjectMixIn
- typing.Generic
Variables
- static
fields_dict : ClassVar[dict[str, marshmallow.fields.Field]]
Methods
modeller
def modeller( self, *, context: Optional[ProtocolContext] = None, **kwargs: Any,) ‑> NoResultsModellerAlgorithm:
Inherited from:
BaseNonModelAlgorithmFactory.modeller :
Modeller-side of the algorithm.
worker
def worker( self, *, context: Optional[ProtocolContext] = None, **kwargs: Any,) ‑> bitfount.federated.algorithms.ehr.image_selection_algorithm._WorkerSide:
Inherited from:
BaseNonModelAlgorithmFactory.worker :
Worker-side of the algorithm.