rsseismic.types module#
Public value types for RSSeismic scripting (protobuf stays internal).
- class rsseismic.types.UnitSystem(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
EnumProject unit system (maps to server isMetric / useMetric RPC flags).
- Metric = 'Metric'#
- Imperial = 'Imperial'#
- to_use_metric() bool#
Return the useMetric / isMetric flag sent on the wire.
- classmethod from_is_metric(is_metric: bool) UnitSystem#
- class rsseismic.types.ResultMotionType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumMotion variants in the compute-aligned result motion set.
- STANDARD = 1#
- COMPLEMENTARY_EQUIVALENT_LINEAR = 2#
- COMPLEMENTARY_NONLINEAR_TOTAL_STRESS_LUMPED_MASS = 3#
- class rsseismic.types.ResultSeriesKind(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumChart series available from computed profile results.
- ACCELERATION = 1#
- VELOCITY = 2#
- DISPLACEMENT = 3#
- ARIAS = 4#
- SHEAR_STRAIN = 5#
- SHEAR_STRESS_RATIO = 6#
- PWP_RATIO = 7#
- RESPONSE_SPECTRA = 8#
- FAS = 9#
- FAS_RATIO = 10#
- PGA = 11#
- PGD = 12#
- MAX_STRAIN = 13#
- MAX_STRESS = 14#
- MAX_PWP_RATIO = 15#
- EFFECTIVE_STRESS = 16#
- MOBILIZED_STRESS = 17#
- NORMALIZED_STRESS = 18#
- MOBILIZED_FRICTION_ANGLE = 19#
- EFFECTIVE_VERTICAL_STRESS = 20#
- property requires_layer: bool#
True when getResultSeriesDataFrame requires a layerID.
- class rsseismic.types.ProfileSummary(name: str, isActive: bool, layerCount: int, totalThickness: float)#
Bases:
objectSummary of a profile in the project.
- name: str#
- isActive: bool#
- layerCount: int#
- totalThickness: float#
- class rsseismic.types.ActiveProfile(profileName: str, layerCount: int, totalThickness: float)#
Bases:
objectSummary of the active profile.
- profileName: str#
- layerCount: int#
- totalThickness: float#
- class rsseismic.types.SoilLayerSummary(layerID: str, index1Based: int, name: str, thickness: float)#
Bases:
objectSummary of a soil layer in a profile.
- layerID: str#
- index1Based: int#
- name: str#
- thickness: float#
- class rsseismic.types.BedrockLayerSummary(layerID: str, name: str, thickness: float)#
Bases:
objectSummary of the bedrock layer in a profile.
- layerID: str#
- name: str#
- thickness: float#
- class rsseismic.types.DeleteProfileResult(deletedProfileName: str, activeProfileName: str)#
Bases:
objectResult of Profiles.deleteProfile().
- deletedProfileName: str#
- activeProfileName: str#
- class rsseismic.types.MotionInfo(name: str, filePath: str, isSelected: bool)#
Bases:
objectGround motion entry for a project.
- name: str#
- filePath: str#
- isSelected: bool#
- class rsseismic.types.MotionPairInfo(pairId: str, motionH1Name: str, motionH2Name: str, motionH1FilePath: str, motionH2FilePath: str, isSelected: bool)#
Bases:
objectHorizontal motion pair inferred from motion file naming.
- pairId: str#
- motionH1Name: str#
- motionH2Name: str#
- motionH1FilePath: str#
- motionH2FilePath: str#
- isSelected: bool#
- class rsseismic.types.DeconvolutionLayerResultFiles(layerIndex: int, layerMotionPath: str, layerMotionExists: bool, layerFasTransferFunctionPath: str, layerFasTransferFunctionExists: bool)#
Bases:
objectDeconvolution output paths for one soil layer.
- layerIndex: int#
- layerMotionPath: str#
- layerMotionExists: bool#
- layerFasTransferFunctionPath: str#
- layerFasTransferFunctionExists: bool#
- class rsseismic.types.ResultLayerSummary(layerID: str, index1Based: int, name: str, isTopOfRock: bool)#
Bases:
objectA profile layer that can be used with layer-scoped result queries.
- layerID: str#
- index1Based: int#
- name: str#
- isTopOfRock: bool#
- class rsseismic.types.ResultMotionSummary(motionName: str, motionType: str, sourceMotionName: str)#
Bases:
objectA motion name in the compute-aligned result motion set.
- motionName: str#
- motionType: str#
- sourceMotionName: str#
- class rsseismic.types.ResultDatabaseInfo(profileName: str, motionName: str, motionType: str, resultsFolderPath: str, resultDatabasePath: str, resultDatabaseExists: bool, complementaryResultDatabasePath: str, complementaryResultDatabaseExists: bool, inputFilePath: str, inputFileExists: bool, strainConvergencePath: str, strainConvergenceExists: bool, strainNonConvergenceIdPath: str, strainNonConvergenceExists: bool, deconvolutionBedrockMotionPath: str, deconvolutionBedrockMotionExists: bool, deconvolutionBedrockFasTransferFunctionPath: str, deconvolutionBedrockFasTransferFunctionExists: bool, deconvolutionLayerFiles: tuple[DeconvolutionLayerResultFiles, ...], topOfRockOutputEnabled: bool = False, topOfRockLayerID: str = '', topOfRockLayerIndex1Based: int = 0)#
Bases:
objectComputed result file paths for one profile/motion pair.
- profileName: str#
- motionName: str#
- motionType: str#
- resultsFolderPath: str#
- resultDatabasePath: str#
- resultDatabaseExists: bool#
- complementaryResultDatabasePath: str#
- complementaryResultDatabaseExists: bool#
- inputFilePath: str#
- inputFileExists: bool#
- strainConvergencePath: str#
- strainConvergenceExists: bool#
- strainNonConvergenceIdPath: str#
- strainNonConvergenceExists: bool#
- deconvolutionBedrockMotionPath: str#
- deconvolutionBedrockMotionExists: bool#
- deconvolutionBedrockFasTransferFunctionPath: str#
- deconvolutionBedrockFasTransferFunctionExists: bool#
- deconvolutionLayerFiles: tuple[DeconvolutionLayerResultFiles, ...]#
- topOfRockOutputEnabled: bool = False#
- topOfRockLayerID: str = ''#
- topOfRockLayerIndex1Based: int = 0#
- class rsseismic.types.InsertLayerResult(profileName: str, layerID: str, index1Based: int)#
Bases:
objectResult of inserting or duplicating a soil layer.
- profileName: str#
- layerID: str#
- index1Based: int#
- class rsseismic.types.AppendLayersResult(profileName: str, layerIDs: tuple[str, ...])#
Bases:
objectResult of appending one or more soil layers.
- profileName: str#
- layerIDs: tuple[str, ...]#
- class rsseismic.types.DeleteLayerResult(profileName: str, deletedLayerID: str)#
Bases:
objectResult of deleting a soil layer.
- profileName: str#
- deletedLayerID: str#
- class rsseismic.types.MoveLayerResult(profileName: str, layerID: str, index1Based: int)#
Bases:
objectResult of moving a soil layer.
- profileName: str#
- layerID: str#
- index1Based: int#
- class rsseismic.types.GqHFittingLimits(enableModulusMin: bool = False, modulusMin: float = 0.0, enableModulusMax: bool = False, modulusMax: float = 0.0, enableStrengthMin: bool = False, strengthMin: float = 0.0, enableDampMin: bool = False, dampMin: float = 0.0, enableDampMax: bool = False, dampMax: float = 0.0, enableFixTheta3: bool = False, fixTheta3: float = 0.0)#
Bases:
objectOptional G/Gmax and damping limits for curve fitting.
- enableModulusMin: bool = False#
- modulusMin: float = 0.0#
- enableModulusMax: bool = False#
- modulusMax: float = 0.0#
- enableStrengthMin: bool = False#
- strengthMin: float = 0.0#
- enableDampMin: bool = False#
- dampMin: float = 0.0#
- enableDampMax: bool = False#
- dampMax: float = 0.0#
- enableFixTheta3: bool = False#
- fixTheta3: float = 0.0#
- class rsseismic.types.MeanProfileSummary(profileName: str, layerCount: int, totalThickness: float)#
Bases:
objectSummary of the mean (representative) profile.
- profileName: str#
- layerCount: int#
- totalThickness: float#
- class rsseismic.types.MeanProfileInsertLayerResult(layerID: str, index1Based: int)#
Bases:
objectResult of inserting or duplicating a mean-profile soil layer.
- layerID: str#
- index1Based: int#
- class rsseismic.types.MeanProfileAppendLayersResult(layerIDs: tuple[str, ...])#
Bases:
objectResult of appending one or more mean-profile soil layers.
- layerIDs: tuple[str, ...]#
- class rsseismic.types.MeanProfileDeleteLayerResult(deletedLayerID: str)#
Bases:
objectResult of deleting a mean-profile soil layer.
- deletedLayerID: str#
- class rsseismic.types.MeanProfileMoveLayerResult(layerID: str, index1Based: int)#
Bases:
objectResult of moving a mean-profile soil layer.
- layerID: str#
- index1Based: int#