snapred.backend.dao package
Subpackages
- snapred.backend.dao.calibration package
- snapred.backend.dao.normalization package
- Submodules
- snapred.backend.dao.normalization.Normalization module
- snapred.backend.dao.normalization.NormalizationRecord module
NormalizationRecordNormalizationRecord.backgroundRunNumberNormalizationRecord.calculationParametersNormalizationRecord.calibrationVersionUsedNormalizationRecord.crystalDBoundsNormalizationRecord.model_configNormalizationRecord.normalizationCalibrantSamplePathNormalizationRecord.smoothingParameterNormalizationRecord.validate_backgroundRunNumber()NormalizationRecord.version_is_integer()NormalizationRecord.workspaceNames
- Module contents
- snapred.backend.dao.ingredients package
- Submodules
- snapred.backend.dao.ingredients.CalibrationMetricsWorkspaceIngredients module
CalibrationMetricsWorkspaceIngredientsCalibrationMetricsWorkspaceIngredients.focusGroupCalibrationMetricsCalibrationMetricsWorkspaceIngredients.model_configCalibrationMetricsWorkspaceIngredients.runNumberCalibrationMetricsWorkspaceIngredients.timestampCalibrationMetricsWorkspaceIngredients.validate_timestamp()CalibrationMetricsWorkspaceIngredients.version
- snapred.backend.dao.ingredients.DiffractionCalibrationIngredients module
DiffractionCalibrationIngredientsDiffractionCalibrationIngredients.convergenceThresholdDiffractionCalibrationIngredients.groupedPeakListsDiffractionCalibrationIngredients.maxChiSqDiffractionCalibrationIngredients.maxOffsetDiffractionCalibrationIngredients.model_configDiffractionCalibrationIngredients.peakFunctionDiffractionCalibrationIngredients.pixelGroupDiffractionCalibrationIngredients.removeBackgroundDiffractionCalibrationIngredients.runConfig
- snapred.backend.dao.ingredients.GroceryListItem module
GroceryListItemGroceryListItem.RESERVED_LITE_RUNNUMBERGroceryListItem.RESERVED_NATIVE_RUNNUMBERGroceryListItem.builder()GroceryListItem.diffCalFilePathGroceryListItem.diffCalVersionGroceryListItem.groupingSchemeGroceryListItem.hiddenGroceryListItem.instrumentPropertySourceGroceryListItem.instrumentSourceGroceryListItem.keepItCleanGroceryListItem.liveDataArgsGroceryListItem.loaderGroceryListItem.model_configGroceryListItem.normCalVersionGroceryListItem.numberTagGroceryListItem.propertyNameGroceryListItem.runNumberGroceryListItem.stateGroceryListItem.timestampGroceryListItem.unitGroceryListItem.useLiteModeGroceryListItem.validate_ingredients_for_groceries()GroceryListItem.workspaceType
LiveDataArgs
- snapred.backend.dao.ingredients.NormalizationIngredients module
- snapred.backend.dao.ingredients.PeakIngredients module
- snapred.backend.dao.ingredients.PixelGroupingIngredients module
- snapred.backend.dao.ingredients.ReductionIngredients module
ReductionIngredientsReductionIngredients.applyNormalization()ReductionIngredients.artificialNormalizationIngredientsReductionIngredients.calibrantSamplePathReductionIngredients.convertUnitsToReductionIngredients.detectorPeaksManyReductionIngredients.effectiveInstrument()ReductionIngredients.generateFocussedVanadium()ReductionIngredients.getDetectorPeaks()ReductionIngredients.groupProcessing()ReductionIngredients.isDiagnosticReductionIngredients.keepUnfocusedReductionIngredients.model_configReductionIngredients.peakIntensityThresholdReductionIngredients.pixelGroupsReductionIngredients.preprocess()ReductionIngredients.runNumberReductionIngredients.smoothingParameterReductionIngredients.timestampReductionIngredients.unmaskedPixelGroupsReductionIngredients.useLiteMode
- Module contents
- snapred.backend.dao.request package
- Submodules
- snapred.backend.dao.request.CalibrationAssessmentRequest module
CalibrationAssessmentRequestCalibrationAssessmentRequest.calibrantSamplePathCalibrationAssessmentRequest.combinedPixelMaskCalibrationAssessmentRequest.crystalDMaxCalibrationAssessmentRequest.crystalDMinCalibrationAssessmentRequest.focusGroupCalibrationAssessmentRequest.fwhmMultipliersCalibrationAssessmentRequest.maxChiSqCalibrationAssessmentRequest.model_configCalibrationAssessmentRequest.nBinsAcrossPeakWidthCalibrationAssessmentRequest.peakFunctionCalibrationAssessmentRequest.runCalibrationAssessmentRequest.useLiteModeCalibrationAssessmentRequest.validate_fwhmMultipliers()CalibrationAssessmentRequest.workspaces
- snapred.backend.dao.request.CalibrationExportRequest module
- snapred.backend.dao.request.CalibrationIndexRequest module
- snapred.backend.dao.request.CalibrationLoadAssessmentRequest module
- snapred.backend.dao.request.ClearWorkspacesRequest module
- snapred.backend.dao.request.ListWorkspacesRequest module
- snapred.backend.dao.request.DiffractionCalibrationRequest module
DiffractionCalibrationRequestDiffractionCalibrationRequest.calibrantSamplePathDiffractionCalibrationRequest.combinedPixelMaskDiffractionCalibrationRequest.continueFlagsDiffractionCalibrationRequest.convergenceThresholdDiffractionCalibrationRequest.crystalDMaxDiffractionCalibrationRequest.crystalDMinDiffractionCalibrationRequest.focusGroupDiffractionCalibrationRequest.fwhmMultipliersDiffractionCalibrationRequest.maxChiSqDiffractionCalibrationRequest.maximumOffsetDiffractionCalibrationRequest.model_configDiffractionCalibrationRequest.nBinsAcrossPeakWidthDiffractionCalibrationRequest.peakFunctionDiffractionCalibrationRequest.pixelMasksDiffractionCalibrationRequest.removeBackgroundDiffractionCalibrationRequest.runNumberDiffractionCalibrationRequest.startingTableVersionDiffractionCalibrationRequest.useLiteModeDiffractionCalibrationRequest.validate_fwhmMultipliers()
- snapred.backend.dao.request.FarmFreshIngredients module
FarmFreshIngredientsFarmFreshIngredients.calibrantSamplePathFarmFreshIngredients.cifPathFarmFreshIngredients.convergenceThresholdFarmFreshIngredients.convertUnitsToFarmFreshIngredients.crystalDBoundsFarmFreshIngredients.focusGroupFarmFreshIngredients.focusGroupsFarmFreshIngredients.fwhmMultipliersFarmFreshIngredients.keepUnfocusedFarmFreshIngredients.maxChiSqFarmFreshIngredients.maxOffsetFarmFreshIngredients.model_configFarmFreshIngredients.nBinsAcrossPeakWidthFarmFreshIngredients.peakFunctionFarmFreshIngredients.peakIntensityThresholdFarmFreshIngredients.runNumberFarmFreshIngredients.stateFarmFreshIngredients.timestampFarmFreshIngredients.useLiteModeFarmFreshIngredients.validate_crystalDBounds()FarmFreshIngredients.validate_focusGroups()FarmFreshIngredients.validate_fwhmMultipliers()FarmFreshIngredients.validate_versions()FarmFreshIngredients.versionFarmFreshIngredients.versions
Versions
- snapred.backend.dao.request.FocusSpectraRequest module
FocusSpectraRequestFocusSpectraRequest.focusGroupFocusSpectraRequest.groupingWorkspaceFocusSpectraRequest.inputWorkspaceFocusSpectraRequest.maskWorkspaceFocusSpectraRequest.model_configFocusSpectraRequest.outputWorkspaceFocusSpectraRequest.preserveEventsFocusSpectraRequest.runNumberFocusSpectraRequest.useLiteMode
- snapred.backend.dao.request.InitializeStateRequest module
- snapred.backend.dao.request.NormalizationRequest module
NormalizationRequestNormalizationRequest.backgroundRunNumberNormalizationRequest.calibrantSamplePathNormalizationRequest.continueFlagsNormalizationRequest.correctedVanadiumWsNormalizationRequest.crystalDBoundsNormalizationRequest.focusGroupNormalizationRequest.fwhmMultipliersNormalizationRequest.model_configNormalizationRequest.nBinsAcrossPeakWidthNormalizationRequest.runNumberNormalizationRequest.smoothingParameterNormalizationRequest.useLiteMode
- snapred.backend.dao.request.NormalizationExportRequest module
- snapred.backend.dao.request.OverrideRequest module
- snapred.backend.dao.request.RenameWorkspaceRequest module
- snapred.backend.dao.request.RenameWorkspacesFromTemplateRequest module
- snapred.backend.dao.request.SmoothDataExcludingPeaksRequest module
SmoothDataExcludingPeaksRequestSmoothDataExcludingPeaksRequest.calibrantSamplePathSmoothDataExcludingPeaksRequest.crystalDMaxSmoothDataExcludingPeaksRequest.crystalDMinSmoothDataExcludingPeaksRequest.focusGroupSmoothDataExcludingPeaksRequest.inputWorkspaceSmoothDataExcludingPeaksRequest.model_configSmoothDataExcludingPeaksRequest.outputWorkspaceSmoothDataExcludingPeaksRequest.runNumberSmoothDataExcludingPeaksRequest.smoothingParameterSmoothDataExcludingPeaksRequest.useLiteMode
- snapred.backend.dao.request.VanadiumCorrectionRequest module
VanadiumCorrectionRequestVanadiumCorrectionRequest.backgroundWorkspaceVanadiumCorrectionRequest.calibrantSamplePathVanadiumCorrectionRequest.crystalDMaxVanadiumCorrectionRequest.crystalDMinVanadiumCorrectionRequest.focusGroupVanadiumCorrectionRequest.inputWorkspaceVanadiumCorrectionRequest.model_configVanadiumCorrectionRequest.outputWorkspaceVanadiumCorrectionRequest.runNumberVanadiumCorrectionRequest.useLiteMode
- Module contents
- snapred.backend.dao.response package
- Submodules
- snapred.backend.dao.response.CalibrationAssessmentResponse module
CalibrationAssessmentResponseCalibrationAssessmentResponse.calculationParametersCalibrationAssessmentResponse.crystalInfoCalibrationAssessmentResponse.focusGroupCalibrationMetricsCalibrationAssessmentResponse.metricWorkspacesCalibrationAssessmentResponse.model_configCalibrationAssessmentResponse.pixelGroupsCalibrationAssessmentResponse.versionCalibrationAssessmentResponse.workspaces
- snapred.backend.dao.response.NormalizationResponse module
- Module contents
- snapred.backend.dao.state package
- Subpackages
- snapred.backend.dao.state.CalibrantSample package
- Submodules
- snapred.backend.dao.state.CalibrantSample.Atom module
- snapred.backend.dao.state.CalibrantSample.CalibrantSample module
- snapred.backend.dao.state.CalibrantSample.Crystallography module
- snapred.backend.dao.state.CalibrantSample.Geometry module
- snapred.backend.dao.state.CalibrantSample.Material module
- Module contents
- snapred.backend.dao.state.CalibrantSample package
- Submodules
- snapred.backend.dao.state.DetectorState module
DetectorStateDetectorState.LEGACY_SCHEMADetectorState.PVsDetectorState.SHA()DetectorState.arcDetectorState.freqDetectorState.fromPVLogs()DetectorState.guideStatDetectorState.items()DetectorState.keys()DetectorState.len()DetectorState.linDetectorState.model_configDetectorState.pvLogsKey()DetectorState.roundedPVForState()DetectorState.stateIdDetectorState.toPVLogs()DetectorState.values()DetectorState.wav
- snapred.backend.dao.state.DiffractionCalibrant module
DiffractionCalibrantDiffractionCalibrant.crystallographicInfoDiffractionCalibrant.diffCalPathDiffractionCalibrant.fSquaredThresholdDiffractionCalibrant.filenameDiffractionCalibrant.latticeParametersDiffractionCalibrant.model_configDiffractionCalibrant.nameDiffractionCalibrant.referenceDiffractionCalibrant.runNumber
- snapred.backend.dao.state.FocusGroup module
- snapred.backend.dao.state.GroupingMap module
GroupingMapGroupingMap.calibrationGroupingHome()GroupingMap.coerceStateId()GroupingMap.defaultStateIdGroupingMap.getMap()GroupingMap.isDefaultGroupingMap.isDirtyGroupingMap.liteGroupingMap.liteFocusGroupsGroupingMap.model_configGroupingMap.model_post_init()GroupingMap.nativeGroupingMap.nativeFocusGroupsGroupingMap.setDirty()GroupingMap.stateIdGroupingMap.str_to_ObjectSHA()GroupingMap.validate_GroupingMap()
- snapred.backend.dao.state.InstrumentConfig module
InstrumentConfigInstrumentConfig.L1InstrumentConfig.L2InstrumentConfig.bandwidthInstrumentConfig.calibrationDirectoryInstrumentConfig.calibrationFileExtensionInstrumentConfig.calibrationFilePrefixInstrumentConfig.delLOverLInstrumentConfig.delTOverTInstrumentConfig.derivedPV()InstrumentConfig.facilityInstrumentConfig.frequencyInstrumentConfig.lowWavelengthCropInstrumentConfig.maxBandwidthInstrumentConfig.model_configInstrumentConfig.model_post_init()InstrumentConfig.nameInstrumentConfig.nexusDirectoryInstrumentConfig.nexusFileExtensionInstrumentConfig.nexusFilePrefixInstrumentConfig.pixelGroupingDirectoryInstrumentConfig.reducedDataDirectoryInstrumentConfig.reductionRecordDirectoryInstrumentConfig.sharedDirectoryInstrumentConfig.stateIdSchemaInstrumentConfig.width
- snapred.backend.dao.state.InstrumentState module
InstrumentStateInstrumentState.defaultGroupingSliceValueInstrumentState.deltaThetaInstrumentState.detectorStateInstrumentState.fwhmMultipliersInstrumentState.gsasParametersInstrumentState.idInstrumentState.instrumentConfigInstrumentState.model_configInstrumentState.particleBoundsInstrumentState.peakTailCoefficientInstrumentState.str_to_ObjectSHA()InstrumentState.validate_fwhmMultipliers()
- snapred.backend.dao.state.NormalizationCalibrant module
NormalizationCalibrantNormalizationCalibrant.FWHMNormalizationCalibrant.attenuationCrossSectionNormalizationCalibrant.attenuationHeightNormalizationCalibrant.calibrationStateNormalizationCalibrant.geometryNormalizationCalibrant.maskNormalizationCalibrant.materialNormalizationCalibrant.model_configNormalizationCalibrant.numAnnuliNormalizationCalibrant.numSlicesNormalizationCalibrant.peaksNormalizationCalibrant.radiusNormalizationCalibrant.sampleNumberDensityNormalizationCalibrant.scatteringCrossSectionNormalizationCalibrant.smoothPoints
- snapred.backend.dao.state.PixelGroup module
PixelGroupPixelGroup.BinningModePixelGroup.L2PixelGroup.azimuthPixelGroup.binningModePixelGroup.dBin()PixelGroup.dMax()PixelGroup.dMin()PixelGroup.dRelativeResolutionPixelGroup.dResolutionPixelGroup.focusGroupPixelGroup.groupIDsPixelGroup.model_configPixelGroup.nBinsAcrossPeakWidthPixelGroup.pixelGroupingParametersPixelGroup.timeOfFlightPixelGroup.twoThetaPixelGroup.validate_TOF()PixelGroup.validate_pixelGroupingParameters()
- snapred.backend.dao.state.PixelGroupingParameters module
PixelGroupingParametersPixelGroupingParameters.L2PixelGroupingParameters.azimuthPixelGroupingParameters.dRelativeResolutionPixelGroupingParameters.dResolutionPixelGroupingParameters.groupIDPixelGroupingParameters.isMaskedPixelGroupingParameters.model_configPixelGroupingParameters.twoThetaPixelGroupingParameters.validate_resolution_type()
- Module contents
- Subpackages
Submodules
snapred.backend.dao.CrystallographicInfo module
- class snapred.backend.dao.CrystallographicInfo.CrystallographicInfo(hkl: List[Tuple[int, int, int]] = None, dSpacing: List[float] = None, fSquared: List[float] = None, multiplicities: List[int] = None, peaks=None)
Bases:
BaseModelClass to hold crystallographic parameters
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- peaks: List[CrystallographicPeak]
snapred.backend.dao.CrystallographicPeak module
- class snapred.backend.dao.CrystallographicPeak.CrystallographicPeak(*, hkl: Tuple[int, int, int], dSpacing: float, fSquared: float, multiplicity: int)
Bases:
BaseModelClass to hold crystallographic parameters
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
snapred.backend.dao.DetectorPeak module
- class snapred.backend.dao.DetectorPeak.DetectorPeak(*, position: LimitedValue[float], peak: CrystallographicPeak)
Bases:
BaseModelClass to hold diffraction peak position and limits in d-spacing
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- peak: CrystallographicPeak
- position: LimitedValue[float]
- classmethod validate_position(v: Any) LimitedValue[float]
snapred.backend.dao.GroupPeakList module
- class snapred.backend.dao.GroupPeakList.GroupPeakList(*, peaks: List[DetectorPeak], groupID: int, maxfwhm: float | None = None)
Bases:
BaseModelClass to hold diffraction peak positions of one group
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- peaks: List[DetectorPeak]
snapred.backend.dao.GSASParameters module
- class snapred.backend.dao.GSASParameters.GSASParameters(*, alpha: float, beta: Tuple[float, float])
Bases:
BaseModelClass for various GSAS parameters
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
snapred.backend.dao.Limit module
- class snapred.backend.dao.Limit.BinnedValue(*, minimum: T, binWidth: T, maximum: T, binningMode: BinningMode = BinningMode.LOG)
Bases:
BaseModel,Generic[T]BinnedValue defines a range and bin width for values of type T, alongside a binning mode (linear or logarithmic). It validates the range and bin width, adjusting bin width to positive if negative, ensuring logical binning behavior for data categorization or histogram generation.
- binWidth: T
- binningMode: BinningMode
- maximum: T
- minimum: T
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- classmethod validate_binWidth(v)
- validate_scalar_fields()
- class snapred.backend.dao.Limit.Limit(*, minimum: T, maximum: T)
Bases:
BaseModel,Generic[T]The Limit class defines minimum and maximum limits for a given type T, ensuring through validation that the minimum is not greater than the maximum. This class is generic, allowing for the application of limits to various data types.
- maximum: T
- minimum: T
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- validate_scalar_fields()
- class snapred.backend.dao.Limit.LimitedValue(*, value: T, minimum: T, maximum: T)
Bases:
BaseModel,Generic[T]LimitedValue ensures that a given value of type T falls within specified minimum and maximum limits. It enforces the constraint that the value must always be between these defined limits.
- maximum: T
- minimum: T
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- validate_scalar_fields()
- value: T
- class snapred.backend.dao.Limit.Pair(minimum: T = None, maximum: T = None, *, left: T, right: T)
Bases:
BaseModel,Generic[T]The Pair class primarily facilitates the mapping of two related values, adaptable to contexts where these values need to be interpreted or manipulated as a unit. This is also a generic class.
- left: T
- property maximum: T
- property minimum: T
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- right: T
snapred.backend.dao.ObjectSHA module
- class snapred.backend.dao.ObjectSHA.ObjectSHA(*, hex: Annotated[str, MinLen(min_length=16), _PydanticGeneralMetadata(pattern='[0-9a-f]+')], decodedKey: str | None = None)
Bases:
BaseModelProvides a standardized object identifier digest to support filesystem-as-database requirements.
This class allows for:
Verification that JSON files representing objects have not been arbitrarily moved. This is ensured by making the SHA a component of the object’s path on the filesystem.
Verification of nested objects where components may be loaded from separate JSON files. This is achieved by marking both nested object and its parent with the SHA from some common reference object, for example, a DetectorState.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
snapred.backend.dao.ParticleBounds module
- class snapred.backend.dao.ParticleBounds.ParticleBounds(*, wavelength: Limit, tof: Limit)
Bases:
BaseModelParticleBounds specifies the allowable ranges for wavelength and time-of-flight (TOF) parameters for particles, using the Limit class to define the upper and lower bounds for each.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
snapred.backend.dao.ReductionState module
- class snapred.backend.dao.ReductionState.ReductionState(*, instrumentConfig: InstrumentConfig, stateConfig: StateConfig, overrides: InstrumentConfig | None = None)
Bases:
BaseModelClass to hold the instrument configuration.
- instrumentConfig: InstrumentConfig
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- overrides: InstrumentConfig | None
- stateConfig: StateConfig
snapred.backend.dao.RunConfig module
- class snapred.backend.dao.RunConfig.RunConfig(*, runNumber: str, IPTS: str | None = None, useLiteMode: bool | None = None, maskFileName: str | None = None, maskFileDirectory: str | None = None, gsasFileDirectory: str | None = None, calibrationState: str | None = None)
Bases:
BaseModelClass to hold the instrument configuration.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
snapred.backend.dao.SNAPRequest module
- class snapred.backend.dao.SNAPRequest.SNAPRequest(*, path: str, payload: Any | None = None, hooks: dict[str, List[Hook]] | None = None)
Bases:
BaseModelSNAPRequest represents the structure of a request within the SNAPRed, containing a path indicating the target of the request and an optional payload that carries the request’s data.
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
snapred.backend.dao.SNAPResponse module
- class snapred.backend.dao.SNAPResponse.ResponseCode(value)
Bases:
IntEnumResponseCode defines a set of standardized response codes representing various outcomes of a request. ranging from successful operations (OK) to various levels of errors, including recoverable states and general errors.
- CONTINUE_WARNING = 301
- ERROR = 500
- LIVE_DATA_STATE = 351
- MAX_OK = 300
- OK = 200
- RECOVERABLE = 400
- USER_CANCELLATION = 326
- class snapred.backend.dao.SNAPResponse.SNAPResponse(*, code: ResponseCode, message: str | None = None, data: Any | None = None)
Bases:
BaseModelSNAPResponse encapsulates the structure of a response generated by the SNAP application, including a response code (using the ResponseCode enum for clarity and consistency), an optional message providing additional context or details about the response, and an optional data field that can carry any response data.
- code: ResponseCode
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
snapred.backend.dao.StateConfig module
- class snapred.backend.dao.StateConfig.StateConfig(*, calibration: Calibration, vanadiumFilePath: str = '', groupingMap: GroupingMap | None = None, stateId: ObjectSHA)
Bases:
BaseModel- attachGroupingMap(groupingMap: GroupingMap, coerceStateId=False)
- calibration: Calibration
- enforceStateId()
- groupingMap: GroupingMap | None
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].