rsseismic.types module#
Public value types for RSSeismic scripting (protobuf stays internal).
- class rsseismic.types.UnitSystem(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
EnumMetric or imperial units.
Used for the open project (
model.ProjectSettings) and for Motion Manager display units (app.MotionLibrary).- Metric = 'Metric'#
- Imperial = 'Imperial'#
- to_use_metric() bool#
- classmethod from_is_metric(is_metric: bool) UnitSystem#
- class rsseismic.types.ResultMotionType(value, names=<not given>, *values, 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=<not given>, *values, 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.MotionProperties(timeStep: float, nyquistFrequency: float, pga: float, pgv: float, pgd: float, numPoints: int, timeStepUnit: str, frequencyUnit: str, accelerationUnit: str, velocityUnit: str, displacementUnit: str)#
Bases:
objectPeak and time-step properties for one ground motion.
Values follow the project’s active units. Unit strings are included for display.
- timeStep: float#
- nyquistFrequency: float#
- pga: float#
- pgv: float#
- pgd: float#
- numPoints: int#
- timeStepUnit: str#
- frequencyUnit: str#
- accelerationUnit: str#
- velocityUnit: str#
- displacementUnit: str#
- class rsseismic.types.ScaleMotionResult(filePath: str, properties: MotionProperties, appliedScaleFactor: float)#
Bases:
objectResult of Motion.scaleToG() or Motion.scaleBy().
- filePath: str#
- properties: MotionProperties#
- appliedScaleFactor: float#
- class rsseismic.types.GeometricMeanSpectralType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumResponse-spectrum method for the geometric-mean spectrum of a motion pair.
Choose Frequency Domain, Duhamel, Duhamel with timestep correction, Newmark, or Newmark with timestep correction.
- FREQUENCY_DOMAIN = 1#
- DUHAMEL = 2#
- DUHAMEL_CORR = 3#
- NEWMARK = 4#
- NEWMARK_CORR = 5#
- class rsseismic.types.MotionPairProperties(pairId: str, motionH1Name: str, motionH2Name: str, h1: MotionProperties, h2: MotionProperties)#
Bases:
objectTimestep, peaks, and related values for both horizontals of a motion pair.
Values use the current Motion Manager display units.
- pairId: str#
- motionH1Name: str#
- motionH2Name: str#
- class rsseismic.types.ScaleMotionPairResult(h1FilePath: str, h2FilePath: str, h1Properties: MotionProperties, h2Properties: MotionProperties, h1AppliedScaleFactor: float, h2AppliedScaleFactor: float)#
Bases:
objectPaths, properties, and applied scale factors after scaling a motion pair.
The saved files are not added to the motion library.
- h1FilePath: str#
- h2FilePath: str#
- h1Properties: MotionProperties#
- h2Properties: MotionProperties#
- h1AppliedScaleFactor: float#
- h2AppliedScaleFactor: float#
- class rsseismic.types.BaselineCorrectionResult(filePath: str, properties: MotionProperties, offsetSeconds: float, offsetPoints: float)#
Bases:
objectResult of Motion.baselineCorrection().
- filePath: str#
- properties: MotionProperties#
- offsetSeconds: float#
- offsetPoints: float#
- class rsseismic.types.TimestepReductionResult(filePath: str, properties: MotionProperties, reductionFactor: int)#
Bases:
objectResult of Motion.timestepReduction().
- filePath: str#
- properties: MotionProperties#
- reductionFactor: int#
- class rsseismic.types.MotionConvertLayout(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumText motion import layout (maps to MotionManagerService MotionConvertLayout).
- ACCELERATION_ONLY = 1#
- TIME_AND_ACCELERATION = 2#
- class rsseismic.types.MotionConvertDelimiter(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumText motion column delimiter (maps to MotionManagerService MotionConvertDelimiter).
- SPACE = 1#
- TAB = 2#
- COMMA = 3#
- SEMICOLON = 4#
- COLON = 5#
- class rsseismic.types.MotionAccelerationUnit(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumInput acceleration unit for motion conversion (maps to MotionManagerService MotionAccelerationUnit).
- G = 1#
- MPS2 = 2#
- CMPS2 = 3#
- FTPS2 = 4#
- class rsseismic.types.GroundMotionDatabase(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumExternal ground-motion database (maps to MotionManagerService GroundMotionDatabase).
ESMis the public name for the Engineering Strong-Motion database; the wire value matches serverGROUND_MOTION_DATABASE_FDSN(legacy name).- GMDB = 1#
- CESMD = 2#
- ESM = 3#
- FDSN = 3#
- class rsseismic.types.ProcessingType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumGMDB processing type (maps to MotionManagerService ProcessingType).
- PRE_PROCESSED = 1#
- MANUAL = 2#
- SEMI_AUTOMATED = 3#
- FULL_AUTOMATED = 4#
- class rsseismic.types.MagnitudeType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumGMDB magnitude type (maps to MotionManagerService MagnitudeType).
- MW = 1#
- ML = 2#
- MS = 3#
- MB = 4#
- U = 5#
- class rsseismic.types.EventType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumGMDB event type (maps to MotionManagerService EventType).
- SHALLOW_CRUSTAL = 1#
- INTERFACE = 2#
- INTRASLAB = 3#
- OUTER_RISE = 4#
- INDUCED = 5#
- UNDETERMINED = 6#
- STABLE_CONTINENTAL = 7#
- class rsseismic.types.DoubleRange(min: float | None = None, max: float | None = None)#
Bases:
objectOptional numeric range. Omit min and/or max when unbound.
- min: float | None = None#
- max: float | None = None#
- class rsseismic.types.DateRange(fromValue: str = '', toValue: str = '')#
Bases:
objectOptional date range (yyyy-MM-dd). Empty from/to = unset.
- fromValue: str = ''#
- toValue: str = ''#
- class rsseismic.types.DatabaseSearchFilters(magnitude: DoubleRange | None = None, date: DateRange | None = None, epicentralDistanceKm: DoubleRange | None = None, pgaH1G: DoubleRange | None = None, eventName: str = '', country: str = '', networkCode: str = '', stationCode: str = '', hypocentralDistanceKm: DoubleRange | None = None, rjbKm: DoubleRange | None = None, rrupKm: DoubleRange | None = None, joynerBooreDistanceKm: DoubleRange | None = None, pgaH2G: DoubleRange | None = None, pgvH1: DoubleRange | None = None, pgvH2: DoubleRange | None = None, pgv: DoubleRange | None = None, iaH1: DoubleRange | None = None, iaH2: DoubleRange | None = None, ariasIntensity: DoubleRange | None = None, t90: DoubleRange | None = None, hypocenterLongitude: DoubleRange | None = None, hypocenterLatitude: DoubleRange | None = None, stationLongitude: DoubleRange | None = None, stationLatitude: DoubleRange | None = None, vs30: DoubleRange | None = None, depth: DoubleRange | None = None, samplingRate: DoubleRange | None = None, subdivision: str = '', stationName: str = '', state: str = '', soilClass: str = '', fdsnInstrumentType: str = '', fdsnProcessingType: str = '', processingType: ProcessingType | None = None, magnitudeType: MagnitudeType | None = None, eventType: EventType | None = None)#
Bases:
objectSearch filters for MotionLibrary.searchDatabaseRecords().
Flat union of wizard-visible GMDB / CESMD / ESM (FDSN) filters. Unused fields for a database are ignored. Option-list values are strings; multi-select uses comma-separated codes (e.g.
"CI,NP"). PGA fields are in g. Dates areyyyy-MM-dd.- magnitude: DoubleRange | None = None#
- epicentralDistanceKm: DoubleRange | None = None#
- pgaH1G: DoubleRange | None = None#
- eventName: str = ''#
- country: str = ''#
- networkCode: str = ''#
- stationCode: str = ''#
- hypocentralDistanceKm: DoubleRange | None = None#
- rjbKm: DoubleRange | None = None#
- rrupKm: DoubleRange | None = None#
- joynerBooreDistanceKm: DoubleRange | None = None#
- pgaH2G: DoubleRange | None = None#
- pgvH1: DoubleRange | None = None#
- pgvH2: DoubleRange | None = None#
- pgv: DoubleRange | None = None#
- iaH1: DoubleRange | None = None#
- iaH2: DoubleRange | None = None#
- ariasIntensity: DoubleRange | None = None#
- t90: DoubleRange | None = None#
- hypocenterLongitude: DoubleRange | None = None#
- hypocenterLatitude: DoubleRange | None = None#
- stationLongitude: DoubleRange | None = None#
- stationLatitude: DoubleRange | None = None#
- vs30: DoubleRange | None = None#
- depth: DoubleRange | None = None#
- samplingRate: DoubleRange | None = None#
- subdivision: str = ''#
- stationName: str = ''#
- state: str = ''#
- soilClass: str = ''#
- fdsnInstrumentType: str = ''#
- fdsnProcessingType: str = ''#
- processingType: ProcessingType | None = None#
- magnitudeType: MagnitudeType | None = None#
- class rsseismic.types.DatabaseRecordInfo(id: str = '', timeSeriesMetadataId: str = '', database: str = '', networkCode: str = '', station: str = '', country: str = '', location: str = '', longitude: float = 0.0, latitude: float = 0.0, startTime: str = '', eventName: str = '', eventType: str = '', samplingRate: float = 0.0, epicentralDistanceKm: float = 0.0, hypocentralDistanceKm: float = 0.0, joynerBooreDistanceKm: float = 0.0, rrupKm: float = 0.0, rjbKm: float = 0.0, magnitudeType: str = '', magnitude: float = 0.0, maxAccelH1G: float = 0.0, maxAccelH2G: float = 0.0, maxVelH1: float = 0.0, maxVelH2: float = 0.0, maxAriasH1: float = 0.0, maxAriasH2: float = 0.0, vs30: float = 0.0)#
Bases:
objectOne database search hit; pass selected records into importDatabaseRecords().
- id: str = ''#
- timeSeriesMetadataId: str = ''#
- database: str = ''#
- networkCode: str = ''#
- station: str = ''#
- country: str = ''#
- location: str = ''#
- longitude: float = 0.0#
- latitude: float = 0.0#
- startTime: str = ''#
- eventName: str = ''#
- eventType: str = ''#
- samplingRate: float = 0.0#
- epicentralDistanceKm: float = 0.0#
- hypocentralDistanceKm: float = 0.0#
- joynerBooreDistanceKm: float = 0.0#
- rrupKm: float = 0.0#
- rjbKm: float = 0.0#
- magnitudeType: str = ''#
- magnitude: float = 0.0#
- maxAccelH1G: float = 0.0#
- maxAccelH2G: float = 0.0#
- maxVelH1: float = 0.0#
- maxVelH2: float = 0.0#
- maxAriasH1: float = 0.0#
- maxAriasH2: float = 0.0#
- vs30: float = 0.0#
- class rsseismic.types.ConvertMotionResult(filePath: str, motionName: str, properties: MotionProperties)#
Bases:
objectResult of MotionLibrary.convertMotionText() or convertMotionAT2().
- filePath: str#
- motionName: str#
- properties: MotionProperties#
- class rsseismic.types.DeleteMotionsResult(deletedMotionNames: list[str], failedMotionNames: list[str])#
Bases:
objectResult of MotionLibrary.deleteMotions().
- deletedMotionNames: list[str]#
- failedMotionNames: list[str]#
- class rsseismic.types.ImportDatabaseRecordsResult(importedMotionNames: list[str], failedRecordIds: list[str])#
Bases:
objectResult of MotionLibrary.importDatabaseRecords().
- importedMotionNames: list[str]#
- failedRecordIds: list[str]#
- class rsseismic.types.SpectralPoint(period: float, sa: float)#
Bases:
objectOne period–Sa point for target spectra.
- period: float#
- sa: float#
- class rsseismic.types.TargetSpectra(points: tuple[SpectralPoint, ...] = ())#
Bases:
objectResolved target spectra (period–Sa points) used by match-to-target APIs.
- points: tuple[SpectralPoint, ...] = ()#
- class rsseismic.types.UserDefinedTargetSpectraModel(filePath: str)#
Bases:
objectUser-defined target spectra loaded from a period–Sa text file.
- filePath: str#
- class rsseismic.types.RexelSeismicCode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumREXEL seismic code (maps to MotionManagerService RexelSeismicCode).
- NTC18 = 1#
- EC8_IT = 2#
- EC8_EU = 3#
- EC8_EU_EFEHR = 4#
- EFEHR_UHS = 5#
- class rsseismic.types.RexelSpectrumType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumREXEL EC8 spectrum type (1 = higher, 2 = lower).
- HIGHER = 1#
- LOWER = 2#
- class rsseismic.types.RexelSoilClass(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumREXEL soil class A–E.
- A = 1#
- B = 2#
- C = 3#
- D = 4#
- E = 5#
- class rsseismic.types.RexelTopographicClass(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumREXEL topographic class T1–T4.
- T1 = 1#
- T2 = 2#
- T3 = 3#
- T4 = 4#
- class rsseismic.types.RexelNominalLife(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumREXEL nominal life in years (NTC18).
- YEARS_10 = 1#
- YEARS_50 = 2#
- YEARS_100 = 3#
- class rsseismic.types.RexelBuildingFunctional(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumREXEL building functional class (API values 1–4).
- CLASS_1 = 1#
- CLASS_2 = 2#
- CLASS_3 = 3#
- CLASS_4 = 4#
- class rsseismic.types.RexelLimitState(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumREXEL limit state (NTC18).
- SLO = 1#
- SLD = 2#
- SLV = 3#
- SLC = 4#
- class rsseismic.types.RexelAggregationLevel(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumREXEL aggregation level (EFEHR_UHS).
- LEVEL_0_05 = 1#
- LEVEL_0_15 = 2#
- MEAN = 3#
- MEDIAN = 4#
- LEVEL_0_85 = 5#
- LEVEL_0_95 = 6#
- class rsseismic.types.RexelProbabilityOfExceedance(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumREXEL probability of exceedance (EC8_eu_EFEHR).
- POE_0_01 = 1#
- POE_0_02 = 2#
- POE_0_05 = 3#
- POE_0_1 = 4#
- POE_0_39 = 5#
- POE_0_5 = 6#
- class rsseismic.types.RexelTargetSpectraModel(seismicCode: RexelSeismicCode = RexelSeismicCode.NTC18, spectrumType: RexelSpectrumType | None = None, latitude: float | None = None, longitude: float | None = None, soilClass: RexelSoilClass | None = None, topographicClass: RexelTopographicClass | None = None, basePga: float | None = None, nominalLife: RexelNominalLife | None = None, buildingFunctional: RexelBuildingFunctional | None = None, limitState: RexelLimitState | None = None, aggregationLevel: RexelAggregationLevel | None = None, probabilityOfExceedance: RexelProbabilityOfExceedance | None = None)#
Bases:
objectREXEL target spectra model parameters.
Omit fields to use server/UI defaults (NTC18, latitude 40.83, longitude 14.19, soil class A, and the remaining code-specific wizard defaults). Which extra fields apply depends on
seismicCode(same as the wizard).- seismicCode: RexelSeismicCode = 1#
- spectrumType: RexelSpectrumType | None = None#
- latitude: float | None = None#
- longitude: float | None = None#
- soilClass: RexelSoilClass | None = None#
- topographicClass: RexelTopographicClass | None = None#
- basePga: float | None = None#
- nominalLife: RexelNominalLife | None = None#
- buildingFunctional: RexelBuildingFunctional | None = None#
- limitState: RexelLimitState | None = None#
- aggregationLevel: RexelAggregationLevel | None = None#
- probabilityOfExceedance: RexelProbabilityOfExceedance | None = None#
- class rsseismic.types.NshmpHazardModel(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumNSHMP hazard model (maps to MotionManagerService NshmpHazardModel).
- ALASKA_2023 = 1#
- CONTERMINOUS_US_2018 = 2#
- CONTERMINOUS_US_2023 = 3#
- CONTERMINOUS_US_2023_2 = 4#
- HAWAII_2021 = 5#
- PUERTO_RICO_VIRGIN_ISLANDS_2025 = 6#
- class rsseismic.types.NshmpAnnualFrequencyOfExceedance(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumNSHMP annual frequency of exceedance (maps to MotionManagerService NshmpAFE).
- AFE_50 = 1#
- AFE_100 = 2#
- AFE_200 = 3#
- AFE_225 = 4#
- AFE_475 = 5#
- AFE_975 = 6#
- AFE_1033 = 7#
- AFE_2475 = 8#
- AFE_10000 = 9#
- class rsseismic.types.NshmpTargetSpectraModel(longitude: float, latitude: float, hazardModel: NshmpHazardModel | None = None, vs30: int | None = None, truncate: bool | None = None, maxdir: bool | None = None, annualFrequencyOfExceedance: NshmpAnnualFrequencyOfExceedance | None = None)#
Bases:
objectNSHMP dynamic hazard curve target spectra parameters.
longitudeandlatitudeare required. Omit other fields to use server/UI defaults (Conterminous U.S. 2018, vs30 760, AFE 2475, truncate/maxdir false).- longitude: float#
- latitude: float#
- hazardModel: NshmpHazardModel | None = None#
- vs30: int | None = None#
- truncate: bool | None = None#
- maxdir: bool | None = None#
- annualFrequencyOfExceedance: NshmpAnnualFrequencyOfExceedance | None = None#
- class rsseismic.types.AmplitudeScalingParams(t1: float = 0.01, t2: float = 10.0, lowerScaleFactor: float = 0.25, upperScaleFactor: float = 4.0)#
Bases:
objectAmplitude scaling approach parameters (wizard defaults when left at zeros on the wire).
- t1: float = 0.01#
- t2: float = 10.0#
- lowerScaleFactor: float = 0.25#
- upperScaleFactor: float = 4.0#
- class rsseismic.types.RecordSelectionParams(nGm: int = 11, damping: float = 0.05, tolPercent: float = 10.0, isScaled: bool = True, maxCandidates: int = 0, defaultSigmaLn: float = 0.0)#
Bases:
objectAutomatic record-selection knobs shown in the match-to-target wizard.
Fields match the wizard selection panel: number of motions, damping, tolerance, amplitude scaling toggle, max candidates, and σ_ln(Sa). Omit the whole object on
matchToTargetSpectraAutomaticto use server defaults (e.g. nGm=11, isScaled=True; maxCandidates depends on database). Scale-factor bounds come fromAmplitudeScalingParams, not here.- nGm: int = 11#
- damping: float = 0.05#
- tolPercent: float = 10.0#
- isScaled: bool = True#
- maxCandidates: int = 0#
- defaultSigmaLn: float = 0.0#
- class rsseismic.types.PairScaleFactor(pairId: str, scaleFactor: float)#
Bases:
objectScale factor applied to one horizontal motion pair.
- pairId: str#
- scaleFactor: float#
- class rsseismic.types.MatchToTargetSpectraResult(savedMotionNames: list[str], failedPairIds: list[str], scaleFactors: list[PairScaleFactor])#
Bases:
objectResult of MotionLibrary.matchToTargetSpectraManual/Automatic().
- savedMotionNames: list[str]#
- failedPairIds: list[str]#
- scaleFactors: list[PairScaleFactor]#
- class rsseismic.types.EstimateKappaResult(startFrequency: float, endFrequency: float, kappa: float, yIntercept: float, startAmplitude: float, endAmplitude: float)#
Bases:
objectEstimate Kappa values for one library motion.
Frequencies are in Hz. Start and end amplitudes are points on the kappa regression line (FAS units), not raw FAS samples at the bounding frequencies. Start amplitude is the line at 0 Hz (the Y-intercept). End amplitude is the line at the last FAS frequency.
- startFrequency: float#
- endFrequency: float#
- kappa: float#
- yIntercept: float#
- startAmplitude: float#
- endAmplitude: float#
- 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#
- class rsseismic.types.DynamicsPoint(strain: float, ggmax: float, damping: float, strength: float)#
Bases:
objectDynamics curve point (strain, G/Gmax, damping, strength).
- strain: float#
- ggmax: float#
- damping: float#
- strength: float#
- class rsseismic.types.DiscretePoint(strain: float, ggmax: float, damping: float)#
Bases:
objectDiscrete curve point for Points soil model (strain, G/Gmax, damping).
- strain: float#
- ggmax: float#
- damping: float#
- class rsseismic.types.StrainPathSegment(startingStrain: float, endingStrain: float, increments: int)#
Bases:
objectOne segment of a Single Element Test strain path.
Strain values use percent (%), matching the Single Element Test dialog.
incrementsis the number of steps fromstartingStraintoendingStrainand must be greater than zero.- startingStrain: float#
- endingStrain: float#
- increments: int#
- class rsseismic.types.UnitMismatchPolicy(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumHow ImportBoreholes handles RSLog vs project unit mismatch.
- KEEP_PROJECT = 1#
- ADOPT_RSLOG = 2#
- FAIL = 3#
- class rsseismic.types.MultiProfilePolicy(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumHow ImportBoreholes handles importing more than one borehole.
- ENABLE_IF_NEEDED = 1#
- FAIL_IF_DISABLED = 2#
- IMPORT_FIRST_ONLY = 3#
- class rsseismic.types.AutoProfilePolicy(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumHow ImportBoreholes handles the auto-profile Yes/No prompt case.
- KEEP = 1#
- ENABLE_IF_NEEDED = 2#
- FAIL_ON_PROMPT = 3#
- class rsseismic.types.ProfileMergeMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumWhether imported profiles replace or append to the open project.
- REPLACE_ALL = 1#
- APPEND = 2#
- class rsseismic.types.RSLogAuthenticateResult(twoFactorRequired: bool)#
Bases:
objectResult of
RSLog.authenticate/verifyTwoFactor.- twoFactorRequired: bool#
- class rsseismic.types.RSLogProjectInfo(id: str, name: str, isMetric: bool, totalTestHoles: int)#
Bases:
objectSummary of an RSLog project from listProjects.
- id: str#
- name: str#
- isMetric: bool#
- totalTestHoles: int#
- class rsseismic.types.RSLogPiezometerInfo(id: str, number: str, groundwaterMeasurementCount: int)#
Bases:
objectPiezometer summary attached to a borehole listing.
- id: str#
- number: str#
- groundwaterMeasurementCount: int#
- class rsseismic.types.RSLogBoreholeInfo(id: str, name: str, depth: float | None, latitude: float | None, longitude: float | None, elevation: float | None, stratigraphyLayerCount: int, sampleCount: int, defaultDrillingGroundwaterDepth: float | None, piezometers: list[RSLogPiezometerInfo])#
Bases:
objectSummary of an RSLog borehole (test hole) from listBoreholes.
- id: str#
- name: str#
- depth: float | None#
- latitude: float | None#
- longitude: float | None#
- elevation: float | None#
- stratigraphyLayerCount: int#
- sampleCount: int#
- defaultDrillingGroundwaterDepth: float | None#
- piezometers: list[RSLogPiezometerInfo]#
- class rsseismic.types.RSLogGroundwaterMeasurementInfo(depth: float, date: str, waterLevelPresent: bool, weatherCondition: str)#
Bases:
objectOne piezometer groundwater measurement.
- depth: float#
- date: str#
- waterLevelPresent: bool#
- weatherCondition: str#
- class rsseismic.types.RSLogPiezometerGroundwaterSelection(piezometerId: str, depth: float)#
Bases:
objectUse a piezometer measurement depth for groundwater on import.
- piezometerId: str#
- depth: float#
- class rsseismic.types.RSLogGroundwaterSelection(useDefault: bool = False, depth: float | None = None, piezometer: RSLogPiezometerGroundwaterSelection | None = None)#
Bases:
objectGroundwater choice for one borehole import.
Set exactly one of:
useDefault=True,depth, orpiezometer.- useDefault: bool = False#
- depth: float | None = None#
- piezometer: RSLogPiezometerGroundwaterSelection | None = None#
- class rsseismic.types.RSLogBoreholeImportSpec(boreholeId: str, groundwater: RSLogGroundwaterSelection | None = None)#
Bases:
objectOne borehole to import, with optional groundwater selection.
- boreholeId: str#
- groundwater: RSLogGroundwaterSelection | None = None#
- class rsseismic.types.RSLogImportBoreholesResult(importedProfileNames: list[str], failedBoreholeIds: list[str], warnings: list[str])#
Bases:
objectResult of
RSLog.importBoreholes.- importedProfileNames: list[str]#
- failedBoreholeIds: list[str]#
- warnings: list[str]#
- class rsseismic.types.DampingMatrixType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumFrequency-independent or Rayleigh viscous damping.
- FREQUENCY_INDEPENDENT = 1#
- RAYLEIGH = 2#
- class rsseismic.types.RayleighDampingType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumDefine Rayleigh damping by structural modes or by frequencies (Hz).
- MODES = 1#
- FREQUENCIES = 2#
- class rsseismic.types.DampingMatrixUpdateOption(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumWhether to update the damping matrix when damping options change.
- DO_NOT_UPDATE = 1#
- UPDATE = 2#
- class rsseismic.types.DampingModeFrequencyOption(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Bases:
IntEnumOne, two, or four mode or frequency points for Rayleigh damping.
- ONE = 1#
- TWO = 2#
- FOUR = 4#
- class rsseismic.types.DampingSettings(dampingMatrixType: DampingMatrixType, rayleighDampingType: RayleighDampingType, matrixUpdateOption: DampingMatrixUpdateOption, modeFrequencyOption: DampingModeFrequencyOption, showFreqDomainSolution: bool, showTimeDomainSolution: bool, modeFreq1: float, modeFreq2: float, modeFreq3: float, modeFreq4: float)#
Bases:
objectDamping options on the Damping Formulation tab (time-domain projects).
- dampingMatrixType: DampingMatrixType#
- rayleighDampingType: RayleighDampingType#
- matrixUpdateOption: DampingMatrixUpdateOption#
- modeFrequencyOption: DampingModeFrequencyOption#
- showFreqDomainSolution: bool#
- showTimeDomainSolution: bool#
- modeFreq1: float#
- modeFreq2: float#
- modeFreq3: float#
- modeFreq4: float#
- property isRayleigh: bool#