rsseismic package#

class rsseismic.RSSeismicApplication(port: int = 60058, host: str = 'localhost')#

Bases: object

Entry point for connecting to a running RSSeismic scripting server.

Mirrors RS3’s RS3Modeler: connect on a port, open projects, return Model proxies. Use startApplication() to launch RSSeismic with -startScriptingServer when it is not already running.

property preferences: Preferences#

Global RSSeismic application preferences (DeepSoilPreferences).

property port: int#
property client: Client#
classmethod startApplication(port: int = 60058, overridePathToExecutable: str | None = None, timeout: float = 120.0) → None#

Launch RSSeismic and wait until the scripting server on port accepts ping.

Parameters:
  • port – Scripting port (49152–65535). Same value as DEFAULT_SCRIPTING_PORT / 60058.

  • overridePathToExecutable – Full path to RSSeismic.exe. When omitted, the latest RSSeismic install is resolved from the Windows registry.

  • timeout – Seconds to wait for the server to become reachable.

Raises:
  • ValueError – port out of range

  • RuntimeError – port occupied, executable not found, or registry lookup failed

  • TimeoutError – server not ready within timeout

ping() → None#

Verify the scripting server is reachable.

getMaxConcurrentAnalyses() → int#

Return the effective maxConcurrentAnalyses from RSSeismic preferences.

This is the within-project cap on simultaneous engine runs used during RunCompute. Batch parallel_degree capping uses this value when available.

setMaxConcurrentAnalyses(maxConcurrentAnalyses: int) → int#

Set maxConcurrentAnalyses in RSSeismic preferences (within-project engine cap).

Values are clamped to 1..256, matching the Preferences UI. Returns the effective value after save (same semantics as getMaxConcurrentAnalyses).

openFile(path: str) → Model#

Open a DeepSoil project file and return a Model handle.

newProject() → Model#

Create a blank project with default settings and return a Model handle.

runBatchCompute(file_paths: list[str], motion_names: list[str] | None = None, *, parallel_degree: int = 1, max_concurrent_analyses: int | None = None, timeout: float | None = None, close_save_project: bool = False, continue_on_error: bool = True) → BatchComputeResult#

Run compute for many project files (open → motion selection → compute → close).

Motion selection applies to the open session only; it is not stored in the project file. Each job calls setMotionSelection before runCompute.

Parameters:
  • file_paths – Project files to process (.rsseismicfile). Duplicate paths are omitted.

  • motion_names – Motions to select for every project. When None, each project keeps its current selection or uses the first available motion.

  • parallel_degree – How many projects may run at once (cross-project only). Capped using maxConcurrentAnalyses from RSSeismic preferences when available.

  • max_concurrent_analyses – When set, applies this within-project engine cap for the batch via setMaxConcurrentAnalyses and restores the previous preference after the batch. When None, uses getMaxConcurrentAnalyses().

  • timeout – Optional RunCompute deadline in seconds for each project.

  • close_save_project – When True, save each project on close.

  • continue_on_error – When False, stop starting new jobs after the first failure (in-flight jobs may still finish).

Returns:

BatchComputeResult with per-file outcomes in input order.

close() → None#

Close the gRPC connection.

class rsseismic.Preferences(client: Client)#

Bases: object

RSSeismic application preferences persisted in DeepSoilPreferences.

These settings are global to the application (not per open project). Use getDefaultUnitSystem() and changeDefaultUnitSystem() for the default unit system applied to new projects (distinct from model.ProjectSettings on an open project).

getDefaultUnitSystem() → UnitSystem#

Return the default unit system preference (Metric or Imperial).

changeDefaultUnitSystem(unitSystem: UnitSystem) → UnitSystem#

Set the default unit system preference. Returns the unit system now in effect.

getMaxConcurrentAnalyses() → int#

Return the effective maxConcurrentAnalyses from RSSeismic preferences.

This is the within-project cap on simultaneous engine runs used during RunCompute. Batch parallel_degree capping uses this value when available.

setMaxConcurrentAnalyses(maxConcurrentAnalyses: int) → int#

Set maxConcurrentAnalyses in RSSeismic preferences (within-project engine cap).

Values are clamped to 1..256, matching the Preferences UI. Returns the effective value after save (same semantics as getMaxConcurrentAnalyses).

getWorkingDirectory() → str#

Return the results working directory from preferences (empty means not set).

setWorkingDirectory(workingDirectory: str) → str#

Set the results working directory preference.

Pass an empty string to clear. Non-empty paths must exist on disk.

class rsseismic.RSLog(client: Client)#

Bases: object

RSLog import scripting (account or JSON file).

Authenticate once per session for account flows, then list/import. File imports do not require authenticate.

authenticate(company: str, username: str, password: str, server: str = '') → RSLogAuthenticateResult#

Log in to RSLog for this scripting session.

If twoFactorRequired is true, call verifyTwoFactor before account list/import RPCs.

verifyTwoFactor(company: str, username: str, password: str, twoFactorCode: str, server: str = '') → RSLogAuthenticateResult#

Complete login when authenticate returned twoFactorRequired=True.

listProjects(*, jsonFilePath: str | None = None, server: str | None = None, onlyProjectsWithTestHoles: bool = True) → list[RSLogProjectInfo]#

List RSLog projects from an account session or a JSON export file.

Pass jsonFilePath for file source; otherwise uses the authenticated account (optional server overrides the account server hint).

listBoreholes(projectId: str, *, jsonFilePath: str | None = None, server: str | None = None) → list[RSLogBoreholeInfo]#

List boreholes (test holes) for an RSLog project (account or file).

listPiezometerGroundwaterMeasurements(piezometerId: str, server: str = '') → list[RSLogGroundwaterMeasurementInfo]#

List groundwater measurements for a piezometer (account session required).

importBoreholes(model: Model | str, projectId: str, boreholes: list[RSLogBoreholeImportSpec], *, jsonFilePath: str | None = None, server: str | None = None, unitMismatchPolicy: UnitMismatchPolicy = UnitMismatchPolicy.KEEP_PROJECT, multiProfilePolicy: MultiProfilePolicy = MultiProfilePolicy.ENABLE_IF_NEEDED, autoProfilePolicy: AutoProfilePolicy = AutoProfilePolicy.KEEP, profileMergeMode: ProfileMergeMode = ProfileMergeMode.REPLACE_ALL, setMeanProfileFromFirst: bool = False) → RSLogImportBoreholesResult#

Import RSLog boreholes into an open project as profiles.

Pass jsonFilePath for file source; otherwise uses the authenticated account.

class rsseismic.BatchComputeJobResult(file_path: str, success: bool, partial_success: bool, error_message: str, motion_names: tuple[str, ...] = ())#

Bases: object

Outcome of compute for one project in a batch.

file_path: str#
success: bool#
partial_success: bool#
error_message: str#
motion_names: tuple[str, ...] = ()#
class rsseismic.BatchComputeResult(results: list[BatchComputeJobResult], requested_parallel_degree: int, effective_parallel_degree: int)#

Bases: object

Aggregate outcome of runBatchCompute.

results: list[BatchComputeJobResult]#
requested_parallel_degree: int#
effective_parallel_degree: int#
property ok: bool#

True when every job completed with full success (no partial failures).

class rsseismic.Model(client: Client, modelId: str)#

Bases: _ProxyObject

Handle for an open RSSeismic project.

Obtain a Model from RSSeismicApplication.openFile(path) or RSSeismicApplication.newProject().

Use the attributes on this object to work with project data: Profiles, Motions, Results, MeanProfile, ProjectSettings, ProfileGenerationSettings, DampingFormulation, and SoilLayers.

property modelId: str#
save() → None#

Save the project to its current file path.

saveAs(filePath: str) → None#

Save the project to a new file path.

close(saveProject: bool = False) → None#

Close the project in RSSeismic.

When saveProject is True, the project is saved before it is closed.

runCompute(timeout: float | None = None) → RunComputeResult#

Run analysis for all selected profile and motion combinations.

Returns a RunComputeResult. Check result.ok for full success. When partialSuccess is True, some pairs completed but others failed; see errorMessage for details.

Optional timeout is the maximum wait time in seconds for long runs. When omitted, the call waits until compute finishes.

clearResults() → None#

Remove stored analysis results from the project.

resetGeneratedProfiles() → ResetGeneratedProfilesResult#

Clear the generated-profiles state so profiles can be generated again.

Does not remove profiles already in the project. Requires automatic profile generation to be enabled in project settings.

generateProfiles(seed: int = 0, timeout: float | None = None) → GenerateProfilesResult#

Create individual profiles from the mean profile template.

Validates model.MeanProfile first, then replaces the profiles in the project with the newly generated set. Configure how many profiles to create with model.ProfileGenerationSettings before calling this method.

When seed is 0, RSSeismic chooses a random seed. Use a fixed seed to reproduce the same generated profiles.

Optional timeout is the maximum wait time in seconds. When omitted, the call waits until generation finishes.

Raises:

ScriptingError – Validation failed or generation could not complete.

class rsseismic.RunComputeResult(success: bool, partialSuccess: bool, errorMessage: str)#

Bases: object

Outcome of Model.runCompute().

success: bool#
partialSuccess: bool#
errorMessage: str#
property ok: bool#

True when every selected profile and motion pair completed successfully.

class rsseismic.DampingFormulation(client: Client, modelId: str)#

Bases: _ProxyObject

Viscous damping options and preview plots for time-domain projects.

Use model.DampingFormulation (Damping Formulation tab in RSSeismic). Rayleigh damping and linear response previews are not available for nonlinear finite element analysis.

Preview tables are for checking your setup; they do not replace Run Compute.

getSettings() → DampingSettings#

Read damping options from the open project.

setSettings(settings: DampingSettings) → None#

Write damping options to the project.

Use getSettings(), edit the result, then pass it here.

setFrequencyIndependent(*, updateMatrix: bool = False) → DampingSettings#

Use frequency-independent viscous damping.

Rayleigh values and other options already on the project are unchanged.

setRayleigh(*, useFrequencies: bool = True, modeFrequencyOption: DampingModeFrequencyOption = DampingModeFrequencyOption.TWO, modeFreq1: float | None = None, modeFreq2: float | None = None, modeFreq3: float | None = None, modeFreq4: float | None = None, updateMatrix: bool = False, showFreqDomainSolution: bool | None = None, showTimeDomainSolution: bool | None = None) → DampingSettings#

Use Rayleigh damping defined by frequencies (Hz) or structural modes.

Any mode or frequency you omit is kept from the current project settings.

applyRecommendedFrequencies(profileName: str = '') → DampingSettings#

Apply the recommended Rayleigh frequency pair from the profile natural frequency.

Empty profileName uses the active profile.

getDampingCurveDataFrame(profileName: str = '') → pandas.DataFrame#

Normalized damping vs frequency for Rayleigh damping (same as the damping curve plot).

Points below 0.1 Hz are omitted. Column units are in dataframe.attrs["column_units"] when available.

getFrequencyDomainSolutionDataFrames(motionName: str, profileName: str = '') → tuple[pandas.DataFrame, pandas.DataFrame]#

Preview frequency-domain linear response: transfer function and spectral acceleration.

motionName is the motion in the project (file name without extension). Empty profileName uses the active profile. Does not update analysis results.

Returns a (transferFunction, spectralAcceleration) pair of DataFrames.

getTimeDomainSolutionDataFrames(motionName: str, profileName: str = '') → tuple[pandas.DataFrame, pandas.DataFrame]#

Preview time-domain linear response: transfer function and spectral acceleration.

motionName is the motion in the project (file name without extension). Empty profileName uses the active profile. Does not update analysis results.

Returns a (transferFunction, spectralAcceleration) pair of DataFrames.

class rsseismic.DampingMatrixType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

Frequency-independent or Rayleigh viscous damping.

FREQUENCY_INDEPENDENT = 1#
RAYLEIGH = 2#
class rsseismic.DampingMatrixUpdateOption(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

Whether to update the damping matrix when damping options change.

DO_NOT_UPDATE = 1#
UPDATE = 2#
class rsseismic.DampingModeFrequencyOption(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

One, two, or four mode or frequency points for Rayleigh damping.

ONE = 1#
TWO = 2#
FOUR = 4#
class rsseismic.DampingSettings(dampingMatrixType: DampingMatrixType, rayleighDampingType: RayleighDampingType, matrixUpdateOption: DampingMatrixUpdateOption, modeFrequencyOption: DampingModeFrequencyOption, showFreqDomainSolution: bool, showTimeDomainSolution: bool, modeFreq1: float, modeFreq2: float, modeFreq3: float, modeFreq4: float)#

Bases: object

Damping 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#
class rsseismic.Results(client: Client, modelId: str)#

Bases: _ProxyObject

Query computed analysis results for an open project.

Access via model.Results. After model.runCompute(), use listResultDatabases or listResultMotions() to discover valid profile and motion names, then fetch tabular data as pandas DataFrame objects.

Use getResultDatabasePath to see which result files exist for a profile/motion pair before calling specialized queries (strain convergence, displacement animation, etc.).

getResultsRoot() → str#

Return the folder where RSSeismic stores computed results for this project.

listResultDatabases(profileName: str = '', onlyExisting: bool = False) → list[ResultDatabaseInfo]#

List profile/motion pairs and their result file paths.

When profileName is empty, entries for all profiles are returned. When onlyExisting is True, only pairs whose main result database file exists on disk are included.

Use the motionName values from these entries (or from listResultMotions) when calling result DataFrame methods — they may differ from names shown in the Motion view, especially for complementary analyses.

getResultDatabasePath(profileName: str, motionName: str) → ResultDatabaseInfo#

Return result file paths and availability flags for one profile and motion.

motionName must be a compute-aligned name from listResultDatabases or listResultMotions after runCompute(). Check fields such as resultDatabaseExists, strainConvergenceExists, and deconvolutionBedrockMotionExists before calling related DataFrame methods.

listResultMotions() → list[ResultMotionSummary]#

List motion names available for result queries after compute.

Includes complementary motions when project settings add them (for example ChiChi-EL derived from selected motion ChiChi). Prefer these names over Motion-view labels when fetching results.

exportReportToPdf(outputPath: str) → str#

Export the analysis report to a PDF file without opening the report previewer.

Works on new/unsaved projects. If the project is saved and a matching .infv preferences file exists beside it, report layout preferences are applied; otherwise default layout is used. Chart images are included when the Results view has loaded computed results; otherwise tables and text sections are still exported.

Returns the outputPath written.

listResultLayers(profileName: str) → list[ResultLayerSummary]#

List layers that can be used with layer-scoped result queries for a profile.

Includes soil layers with result output enabled and the top-of-rock layer when bedrock output is configured.

getTopOfRockLayerId(profileName: str) → str#

Return the layer ID to use for top-of-rock result queries on a profile.

Raises ValueError when top of rock output is not available in listResultLayers(profileName).

getLayerTimeHistoryDataFrame(profileName: str, motionName: str, layerID: str) → pandas.DataFrame#

Return layer time-history results as a pandas DataFrame.

Columns typically include time, acceleration, velocity, and related series for the given layer. For finite-element analysis, effective vertical stress may also be included.

motionName must be compute-aligned. layerID comes from listResultLayers(profileName) or listSoilLayers() on the same profile. Column units are in dataframe.attrs["column_units"] when available.

getProfileResultsDataFrame(profileName: str, motionName: str) → pandas.DataFrame#

Return profile-level summary results as a pandas DataFrame.

Provides depth-based summary columns for the profile (for example maximum strain by layer). Not available for deconvolution profiles — use layer-scoped methods instead.

motionName must be compute-aligned after runCompute().

getResultSeriesDataFrame(profileName: str, motionName: str, kind: ResultSeriesKind, layerID: str = '') → pandas.DataFrame#

Return one result chart series as a pandas DataFrame.

Pass a ResultSeriesKind value for kind (for example MAX_STRAIN, PGA, ACCELERATION). When kind.requires_layer is True, layerID is required — use listResultLayers(profileName) to obtain valid IDs.

motionName must be compute-aligned after runCompute().

getStrainConvergenceDataFrame(profileName: str, motionName: str) → pandas.DataFrame#

Return equivalent-linear strain convergence data as a pandas DataFrame.

Table columns show iteration and per-layer strain values. Requires equivalent-linear analysis and a computed strain-convergence file for the motion. Check getResultDatabasePath(...).strainConvergenceExists before calling.

For complementary equivalent-linear runs, pass the complementary motion name (for example ChiChi-EL).

getRealTimeDisplacementDataFrame(profileName: str, motionName: str) → pandas.DataFrame#

Return real-time relative displacement at each layer as a pandas DataFrame.

Requires the displacement animation option enabled in project settings and a standard result database for the motion.

getAllStrainConvergenceDataFrames(profileName: str, *, skipErrors: bool = True) → dict[str, pandas.DataFrame]#

Fetch strain convergence DataFrames for all motions on the Check convergence tab.

Uses the same motion list as that tab in the RSSeismic UI: primary equivalent-linear motions, plus complementary EL motions when that option is enabled. Each entry is loaded via getStrainConvergenceDataFrame.

When skipErrors is True (default), motions without convergence data are skipped instead of raising an error.

getAllRealTimeDisplacementDataFrames(profileName: str, *, skipErrors: bool = True) → dict[str, pandas.DataFrame]#

Fetch real-time displacement DataFrames for all result motions on a profile.

Uses the same motion list as the displacement animation tab. Requires the displacement animation project setting. When skipErrors is True (default), motions without data are skipped instead of raising an error.

getAllResultSeriesDataFrames(profileName: str, kind: ResultSeriesKind, motionTypeFilters: Sequence[ResultMotionType] | None = None, layerIds: Sequence[str] | None = None, *, skipErrors: bool = True) → dict[str, pandas.DataFrame] | dict[tuple[str, str], pandas.DataFrame]#

Fetch one result series kind for many motions (and layers when required).

Returns a dict keyed by motion name for profile-level series, or by (motion_name, layer_id) when kind.requires_layer is True.

motionTypeFilters limits which motion variants are included (standard, complementary equivalent-linear, complementary nonlinear total stress). Pass None or an empty sequence to include all types.

layerIds limits layer-scoped series. When omitted or empty and kind requires a layer, all layers from listResultLayers(profileName) are used.

When skipErrors is True (default), missing combinations are skipped instead of raising an error.

class rsseismic.RayleighDampingType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

Define Rayleigh damping by structural modes or by frequencies (Hz).

MODES = 1#
FREQUENCIES = 2#
class rsseismic.DynamicsPoint(strain: float, ggmax: float, damping: float, strength: float)#

Bases: object

Dynamics curve point (strain, G/Gmax, damping, strength).

strain: float#
ggmax: float#
damping: float#
strength: float#
class rsseismic.DiscretePoint(strain: float, ggmax: float, damping: float)#

Bases: object

Discrete curve point for Points soil model (strain, G/Gmax, damping).

strain: float#
ggmax: float#
damping: float#
class rsseismic.ProfileSummary(name: str, isActive: bool, layerCount: int, totalThickness: float)#

Bases: object

Summary of a profile in the project.

name: str#
isActive: bool#
layerCount: int#
totalThickness: float#
class rsseismic.ActiveProfile(profileName: str, layerCount: int, totalThickness: float)#

Bases: object

Summary of the active profile.

profileName: str#
layerCount: int#
totalThickness: float#
class rsseismic.SoilLayerSummary(layerID: str, index1Based: int, name: str, thickness: float)#

Bases: object

Summary of a soil layer in a profile.

layerID: str#
index1Based: int#
name: str#
thickness: float#
class rsseismic.StrainPathSegment(startingStrain: float, endingStrain: float, increments: int)#

Bases: object

One segment of a Single Element Test strain path.

Strain values use percent (%), matching the Single Element Test dialog. increments is the number of steps from startingStrain to endingStrain and must be greater than zero.

startingStrain: float#
endingStrain: float#
increments: int#
class rsseismic.BedrockLayerSummary(layerID: str, name: str, thickness: float)#

Bases: object

Summary of the bedrock layer in a profile.

layerID: str#
name: str#
thickness: float#
class rsseismic.DeleteProfileResult(deletedProfileName: str, activeProfileName: str)#

Bases: object

Result of Profiles.deleteProfile().

deletedProfileName: str#
activeProfileName: str#
class rsseismic.MotionInfo(name: str, filePath: str, isSelected: bool)#

Bases: object

Ground motion entry for a project.

name: str#
filePath: str#
isSelected: bool#
class rsseismic.MotionPairInfo(pairId: str, motionH1Name: str, motionH2Name: str, motionH1FilePath: str, motionH2FilePath: str, isSelected: bool)#

Bases: object

Horizontal motion pair inferred from motion file naming.

pairId: str#
motionH1Name: str#
motionH2Name: str#
motionH1FilePath: str#
motionH2FilePath: str#
isSelected: bool#
class rsseismic.MotionProperties(timeStep: float, nyquistFrequency: float, pga: float, pgv: float, pgd: float, numPoints: int, timeStepUnit: str, frequencyUnit: str, accelerationUnit: str, velocityUnit: str, displacementUnit: str)#

Bases: object

Peak 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.MotionPairProperties(pairId: str, motionH1Name: str, motionH2Name: str, h1: MotionProperties, h2: MotionProperties)#

Bases: object

Timestep, 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#
h1: MotionProperties#
h2: MotionProperties#
class rsseismic.EstimateKappaResult(startFrequency: float, endFrequency: float, kappa: float, yIntercept: float, startAmplitude: float, endAmplitude: float)#

Bases: object

Estimate 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.ScaleMotionResult(filePath: str, properties: MotionProperties, appliedScaleFactor: float)#

Bases: object

Result of Motion.scaleToG() or Motion.scaleBy().

filePath: str#
properties: MotionProperties#
appliedScaleFactor: float#
class rsseismic.ScaleMotionPairResult(h1FilePath: str, h2FilePath: str, h1Properties: MotionProperties, h2Properties: MotionProperties, h1AppliedScaleFactor: float, h2AppliedScaleFactor: float)#

Bases: object

Paths, 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.GeometricMeanSpectralType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

Response-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.BaselineCorrectionResult(filePath: str, properties: MotionProperties, offsetSeconds: float, offsetPoints: float)#

Bases: object

Result of Motion.baselineCorrection().

filePath: str#
properties: MotionProperties#
offsetSeconds: float#
offsetPoints: float#
class rsseismic.TimestepReductionResult(filePath: str, properties: MotionProperties, reductionFactor: int)#

Bases: object

Result of Motion.timestepReduction().

filePath: str#
properties: MotionProperties#
reductionFactor: int#
class rsseismic.ConvertMotionResult(filePath: str, motionName: str, properties: MotionProperties)#

Bases: object

Result of MotionLibrary.convertMotionText() or convertMotionAT2().

filePath: str#
motionName: str#
properties: MotionProperties#
class rsseismic.DeleteMotionsResult(deletedMotionNames: list[str], failedMotionNames: list[str])#

Bases: object

Result of MotionLibrary.deleteMotions().

deletedMotionNames: list[str]#
failedMotionNames: list[str]#
class rsseismic.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: object

One 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.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: object

Search 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 are yyyy-MM-dd.

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#
class rsseismic.DateRange(fromValue: str = '', toValue: str = '')#

Bases: object

Optional date range (yyyy-MM-dd). Empty from/to = unset.

fromValue: str = ''#
toValue: str = ''#
class rsseismic.DoubleRange(min: float | None = None, max: float | None = None)#

Bases: object

Optional numeric range. Omit min and/or max when unbound.

min: float | None = None#
max: float | None = None#
class rsseismic.EventType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

GMDB 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.GroundMotionDatabase(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

External ground-motion database (maps to MotionManagerService GroundMotionDatabase).

ESM is the public name for the Engineering Strong-Motion database; the wire value matches server GROUND_MOTION_DATABASE_FDSN (legacy name).

GMDB = 1#
CESMD = 2#
ESM = 3#
FDSN = 3#
class rsseismic.ImportDatabaseRecordsResult(importedMotionNames: list[str], failedRecordIds: list[str])#

Bases: object

Result of MotionLibrary.importDatabaseRecords().

importedMotionNames: list[str]#
failedRecordIds: list[str]#
class rsseismic.MagnitudeType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

GMDB magnitude type (maps to MotionManagerService MagnitudeType).

MW = 1#
ML = 2#
MS = 3#
MB = 4#
U = 5#
class rsseismic.MatchToTargetSpectraResult(savedMotionNames: list[str], failedPairIds: list[str], scaleFactors: list[PairScaleFactor])#

Bases: object

Result of MotionLibrary.matchToTargetSpectraManual/Automatic().

savedMotionNames: list[str]#
failedPairIds: list[str]#
scaleFactors: list[PairScaleFactor]#
class rsseismic.MotionConvertLayout(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

Text motion import layout (maps to MotionManagerService MotionConvertLayout).

ACCELERATION_ONLY = 1#
TIME_AND_ACCELERATION = 2#
class rsseismic.MotionConvertDelimiter(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

Text motion column delimiter (maps to MotionManagerService MotionConvertDelimiter).

SPACE = 1#
TAB = 2#
COMMA = 3#
SEMICOLON = 4#
COLON = 5#
class rsseismic.MotionAccelerationUnit(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

Input acceleration unit for motion conversion (maps to MotionManagerService MotionAccelerationUnit).

G = 1#
MPS2 = 2#
CMPS2 = 3#
FTPS2 = 4#
class rsseismic.AmplitudeScalingParams(t1: float = 0.01, t2: float = 10.0, lowerScaleFactor: float = 0.25, upperScaleFactor: float = 4.0)#

Bases: object

Amplitude 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.PairScaleFactor(pairId: str, scaleFactor: float)#

Bases: object

Scale factor applied to one horizontal motion pair.

pairId: str#
scaleFactor: float#
class rsseismic.RecordSelectionParams(nGm: int = 11, damping: float = 0.05, tolPercent: float = 10.0, isScaled: bool = True, maxCandidates: int = 0, defaultSigmaLn: float = 0.0)#

Bases: object

Automatic 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 matchToTargetSpectraAutomatic to use server defaults (e.g. nGm=11, isScaled=True; maxCandidates depends on database). Scale-factor bounds come from AmplitudeScalingParams, 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.SpectralPoint(period: float, sa: float)#

Bases: object

One period–Sa point for target spectra.

period: float#
sa: float#
class rsseismic.TargetSpectra(points: tuple[SpectralPoint, ...] = ())#

Bases: object

Resolved target spectra (period–Sa points) used by match-to-target APIs.

points: tuple[SpectralPoint, ...] = ()#
class rsseismic.UserDefinedTargetSpectraModel(filePath: str)#

Bases: object

User-defined target spectra loaded from a period–Sa text file.

filePath: str#
class rsseismic.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: object

REXEL 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.RexelSeismicCode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

REXEL seismic code (maps to MotionManagerService RexelSeismicCode).

NTC18 = 1#
EC8_IT = 2#
EC8_EU = 3#
EC8_EU_EFEHR = 4#
EFEHR_UHS = 5#
class rsseismic.RexelSpectrumType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

REXEL EC8 spectrum type (1 = higher, 2 = lower).

HIGHER = 1#
LOWER = 2#
class rsseismic.RexelSoilClass(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

REXEL soil class A–E.

A = 1#
B = 2#
C = 3#
D = 4#
E = 5#
class rsseismic.RexelTopographicClass(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

REXEL topographic class T1–T4.

T1 = 1#
T2 = 2#
T3 = 3#
T4 = 4#
class rsseismic.RexelNominalLife(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

REXEL nominal life in years (NTC18).

YEARS_10 = 1#
YEARS_50 = 2#
YEARS_100 = 3#
class rsseismic.RexelBuildingFunctional(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

REXEL building functional class (API values 1–4).

CLASS_1 = 1#
CLASS_2 = 2#
CLASS_3 = 3#
CLASS_4 = 4#
class rsseismic.RexelLimitState(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

REXEL limit state (NTC18).

SLO = 1#
SLD = 2#
SLV = 3#
SLC = 4#
class rsseismic.RexelAggregationLevel(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

REXEL 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.RexelProbabilityOfExceedance(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

REXEL 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.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: object

NSHMP dynamic hazard curve target spectra parameters.

longitude and latitude are 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.NshmpHazardModel(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

NSHMP 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.NshmpAnnualFrequencyOfExceedance(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

NSHMP 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.ProcessingType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

GMDB processing type (maps to MotionManagerService ProcessingType).

PRE_PROCESSED = 1#
MANUAL = 2#
SEMI_AUTOMATED = 3#
FULL_AUTOMATED = 4#
class rsseismic.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: object

Computed 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.ResultLayerSummary(layerID: str, index1Based: int, name: str, isTopOfRock: bool)#

Bases: object

A profile layer that can be used with layer-scoped result queries.

layerID: str#
index1Based: int#
name: str#
isTopOfRock: bool#
class rsseismic.ResultMotionSummary(motionName: str, motionType: str, sourceMotionName: str)#

Bases: object

A motion name in the compute-aligned result motion set.

motionName: str#
motionType: str#
sourceMotionName: str#
class rsseismic.ResultMotionType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

Motion variants in the compute-aligned result motion set.

STANDARD = 1#
COMPLEMENTARY_EQUIVALENT_LINEAR = 2#
COMPLEMENTARY_NONLINEAR_TOTAL_STRESS_LUMPED_MASS = 3#
class rsseismic.ResultSeriesKind(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

Chart 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.InsertLayerResult(profileName: str, layerID: str, index1Based: int)#

Bases: object

Result of inserting or duplicating a soil layer.

profileName: str#
layerID: str#
index1Based: int#
class rsseismic.AppendLayersResult(profileName: str, layerIDs: tuple[str, ...])#

Bases: object

Result of appending one or more soil layers.

profileName: str#
layerIDs: tuple[str, ...]#
class rsseismic.DeleteLayerResult(profileName: str, deletedLayerID: str)#

Bases: object

Result of deleting a soil layer.

profileName: str#
deletedLayerID: str#
class rsseismic.MoveLayerResult(profileName: str, layerID: str, index1Based: int)#

Bases: object

Result of moving a soil layer.

profileName: str#
layerID: str#
index1Based: int#
class rsseismic.MeanProfileSummary(profileName: str, layerCount: int, totalThickness: float)#

Bases: object

Summary of the mean (representative) profile.

profileName: str#
layerCount: int#
totalThickness: float#
class rsseismic.MeanProfileInsertLayerResult(layerID: str, index1Based: int)#

Bases: object

Result of inserting or duplicating a mean-profile soil layer.

layerID: str#
index1Based: int#
class rsseismic.MeanProfileAppendLayersResult(layerIDs: tuple[str, ...])#

Bases: object

Result of appending one or more mean-profile soil layers.

layerIDs: tuple[str, ...]#
class rsseismic.MeanProfileDeleteLayerResult(deletedLayerID: str)#

Bases: object

Result of deleting a mean-profile soil layer.

deletedLayerID: str#
class rsseismic.MeanProfileMoveLayerResult(layerID: str, index1Based: int)#

Bases: object

Result of moving a mean-profile soil layer.

layerID: str#
index1Based: int#
class rsseismic.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: object

Optional 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.UnitSystem(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: Enum

Metric 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.UnitMismatchPolicy(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

How ImportBoreholes handles RSLog vs project unit mismatch.

KEEP_PROJECT = 1#
ADOPT_RSLOG = 2#
FAIL = 3#
class rsseismic.MultiProfilePolicy(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

How ImportBoreholes handles importing more than one borehole.

ENABLE_IF_NEEDED = 1#
FAIL_IF_DISABLED = 2#
IMPORT_FIRST_ONLY = 3#
class rsseismic.AutoProfilePolicy(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

How ImportBoreholes handles the auto-profile Yes/No prompt case.

KEEP = 1#
ENABLE_IF_NEEDED = 2#
FAIL_ON_PROMPT = 3#
class rsseismic.ProfileMergeMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Bases: IntEnum

Whether imported profiles replace or append to the open project.

REPLACE_ALL = 1#
APPEND = 2#
class rsseismic.RSLogAuthenticateResult(twoFactorRequired: bool)#

Bases: object

Result of RSLog.authenticate / verifyTwoFactor.

twoFactorRequired: bool#
class rsseismic.RSLogProjectInfo(id: str, name: str, isMetric: bool, totalTestHoles: int)#

Bases: object

Summary of an RSLog project from listProjects.

id: str#
name: str#
isMetric: bool#
totalTestHoles: int#
class rsseismic.RSLogPiezometerInfo(id: str, number: str, groundwaterMeasurementCount: int)#

Bases: object

Piezometer summary attached to a borehole listing.

id: str#
number: str#
groundwaterMeasurementCount: int#
class rsseismic.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: object

Summary 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.RSLogGroundwaterMeasurementInfo(depth: float, date: str, waterLevelPresent: bool, weatherCondition: str)#

Bases: object

One piezometer groundwater measurement.

depth: float#
date: str#
waterLevelPresent: bool#
weatherCondition: str#
class rsseismic.RSLogPiezometerGroundwaterSelection(piezometerId: str, depth: float)#

Bases: object

Use a piezometer measurement depth for groundwater on import.

piezometerId: str#
depth: float#
class rsseismic.RSLogGroundwaterSelection(useDefault: bool = False, depth: float | None = None, piezometer: RSLogPiezometerGroundwaterSelection | None = None)#

Bases: object

Groundwater choice for one borehole import.

Set exactly one of: useDefault=True, depth, or piezometer.

useDefault: bool = False#
depth: float | None = None#
piezometer: RSLogPiezometerGroundwaterSelection | None = None#
class rsseismic.RSLogBoreholeImportSpec(boreholeId: str, groundwater: RSLogGroundwaterSelection | None = None)#

Bases: object

One borehole to import, with optional groundwater selection.

boreholeId: str#
groundwater: RSLogGroundwaterSelection | None = None#
class rsseismic.RSLogImportBoreholesResult(importedProfileNames: list[str], failedBoreholeIds: list[str], warnings: list[str])#

Bases: object

Result of RSLog.importBoreholes.

importedProfileNames: list[str]#
failedBoreholeIds: list[str]#
warnings: list[str]#