2. API reference#

This is the public class and function reference for pycsamt. Use the search field to find an object by name, package, or description. For conceptual guidance and worked examples, see the User Guide. Runtime settings and the configure_* / reset_* pattern are documented separately in API Guide. Private objects and test modules are not included. Each entry links to the object’s canonical generated reference; public facade paths are used when an object is implemented in a private module. The owning public module is shown beneath its description and is searchable; only supported public import paths are displayed. The catalogue is rebuilt from each subpackage’s current public exports, including the IoT field stack.

pycsamt.agents.AgentCoordinator

Orchestrate a sequence of pycsamt agents as a named workflow.

pycsamt.agents.AgentMaster

Plain-language entry point to the agent workflows.

pycsamt.agents.AgentResult

Standardised output returned by every pycsamt agent.

pycsamt.agents.AIInversionAgent

Train an AI inverter on synthetic data then predict on observed sites.

pycsamt.agents.AnomalyDetectionAgent

Detect anomalous (station, frequency) observations in MT data.

pycsamt.agents.BaseAgent

Abstract base class for all pycsamt agents.

pycsamt.agents.BatchSurveyAgent

Process multiple MT profiles through a shared agent chain.

pycsamt.agents.CodeGenerationAgent

Generate a reproducible Python script from a completed workflow.

pycsamt.agents.configure_agents

Configure AGENT_CONFIG in one call and return it.

pycsamt.agents.ContextInputAgent

Parse a natural-language MT workflow request into a structured config.

pycsamt.agents.DataQCAgent

Run data quality control on a MT/AMT dataset.

pycsamt.agents.DenoisingAgent

Denoise MT impedance data using classical or AI-based methods.

pycsamt.agents.EDIExportAgent

Write processed Sites to EDI files on disk.

pycsamt.agents.EnsembleAgent

Ensemble 1-D MT inversion with uncertainty bands.

pycsamt.agents.estimate_cost

Compute the USD cost for one LLM call.

pycsamt.agents.format_cost

Return a human-readable cost string.

pycsamt.agents.ForwardModelAgent

Run a 1-D, 2-D, or 3-D MT forward model.

pycsamt.agents.FrequencyDecimationAgent

Select optimal periods from MT data for inversion.

pycsamt.agents.get_rate

Return the resolved {"input": …, "output": …} rate.

pycsamt.agents.HybridInversionAgent

Two-stage AI + physics MT inversion.

pycsamt.agents.IntentRouter

Classify a chat message into a RouterDecision.

pycsamt.agents.InterpretationAgent

Interpret a resistivity model in terms of geological formations.

pycsamt.agents.Inv2DAgent

2-D MT profile inversion using a U-Net convolutional architecture.

pycsamt.agents.Inv3DAgent

3-D MT profile inversion using a graph-convolutional network (GCN).

pycsamt.agents.InversionBackendAgent

Drive pycsamt.inversion physics-based backends.

pycsamt.agents.InversionComparisonAgent

Compare two resistivity inversion results.

pycsamt.agents.InversionEvaluationAgent

Evaluate inversion quality: RMS, residual PT, misfit section.

pycsamt.agents.InversionPrepAgent

Prepare MT data files for 2-D / 3-D inversion codes.

pycsamt.agents.IoTFieldAgent

Assess and monitor an IoT-enabled EM field acquisition.

pycsamt.agents.JointInversionAgent

Multi-modal MT joint inversion using DRCNN.

pycsamt.agents.Mare2DEMAgent

Orchestrate a complete MARE2DEM 2.5-D EM inversion workflow.

pycsamt.agents.ModelZooAgent

Browse, download, and run pre-trained EM inverters from the model zoo.

pycsamt.agents.ModEmAgent

Write a ModEM3D MT data file from EDI sources.

pycsamt.agents.MTLoaderAgent

Load MT data from any pycsamt-supported format and assess quality.

pycsamt.agents.Occam2DAgent

Generate a complete Occam2D inversion input file set.

pycsamt.agents.PackageQAAgent

Answer free-form questions about pycsamt v2.

pycsamt.agents.PhaseAnalysisAgent

Run a full phase tensor, strike, and dimensionality survey analysis.

pycsamt.agents.PINNInversionAgent

PINN-based MT inversion without labelled data.

pycsamt.agents.PipelineAgent

LLM-assisted MT processing pipeline selection and interpretation.

pycsamt.agents.ReportAgent

Generate a structured MT survey report from agent results.

pycsamt.agents.reset_agents

Reset AGENT_CONFIG to its unconfigured state.

pycsamt.agents.ResistivityMapAgent

Build horizontal resistivity depth-slice maps from 1-D inversion results.

pycsamt.agents.SensitivityAgent

Bostick sensitivity kernels and vertical resolution analysis.

pycsamt.agents.StaticShiftAgent

Detect and correct galvanic static shift in MT/AMT data.

pycsamt.agents.TensorRotationAgent

Rotate impedance tensors and tipper vectors by a fixed strike angle.

pycsamt.agents.TipperAnalysisAgent

Analyse tipper vectors and plot induction arrows.

pycsamt.agents.validate_workflow_plan

Validate plan and optionally raise on errors.

pycsamt.agents.WorkflowOrchestratorAgent

Intelligently route an NL request to the correct agent chain.

pycsamt.agents.WorkflowPlan

Validated intermediate representation of a workflow request.

pycsamt.agents.WorkflowStep

One step in an AgentCoordinator workflow.

pycsamt.ai.add_colorbar

Attach a right-side colorbar to ax using make_axes_locatable.

pycsamt.ai.AnomalyDetector

Profile-level unsupervised anomaly detector.

pycsamt.ai.AugmentFreqDrop

Randomly zero-out a fraction of frequency channels.

pycsamt.ai.AugmentMixup

Mixup augmentation (Zhang et al. 2018).

pycsamt.ai.AugmentNoise

Add multiplicative log-Gaussian noise to feature amplitudes.

pycsamt.ai.AugmentStaticShift

Apply a random static shift to amplitude features.

pycsamt.ai.BaseEMNet

Abstract base class for EM neural network estimators.

pycsamt.ai.BaseEMProcessor

Abstract base class for ML-based EM data processing tasks.

pycsamt.ai.build_adjacency

Build a symmetric adjacency matrix from 2-D station coordinates.

pycsamt.ai.CNN1DNet

Factory wrapper — call build() to get an nn.Module.

pycsamt.ai.combine_observation_reliability

Return bounded measurement-by-dimensionality reliability.

pycsamt.ai.Compose

Sequentially apply a list of augmenters.

pycsamt.ai.ConformalPredictor

Split conformal prediction wrapper for calibrated regression intervals.

pycsamt.ai.data.ArtifactRecord

Integrity metadata for one external dataset artifact.

pycsamt.ai.data.canonical_hash

Return the SHA-256 digest of deterministic canonical JSON.

pycsamt.ai.data.ComplexZScore

Immutable per-frequency/component complex z-score state.

pycsamt.ai.data.DatasetManifest

Identify a generated dataset and its complete reproducibility state.

pycsamt.ai.data.ImpedanceConvention

Describe the sign, units, and rotation convention of impedance data.

pycsamt.ai.data.merge_surveys

Concatenate compatible surveys along the station axis.

pycsamt.ai.data.NormalizedSurvey

Normalized real/imaginary feature channels and their validity state.

pycsamt.ai.data.realization_folds

Build deterministic group-safe cross-validation test folds.

pycsamt.ai.data.RealizationSplit

Immutable train/validation/test assignment of geological realizations.

pycsamt.ai.data.sha256_file

Hash a file without loading the complete artifact into memory.

pycsamt.ai.data.split_realizations

Create a deterministic realization- or lineage-level random split.

pycsamt.ai.data.SurveyCoverage

Summarize the usable fraction of a survey along each data axis.

pycsamt.ai.data.SurveyData

Validated MT/AMT observations on a common survey grid.

pycsamt.ai.depth_rmse

RMSE on the resistivity sub-vector only (first n_layers columns), optionally weighted by layer index so that deeper (harder) layers have less influence on the score.

pycsamt.ai.dimensionality_reliability

Convert phase-tensor skew into compatibility with 2-D physics.

pycsamt.ai.DimensionalityClassifier

MLP classifier for MT data dimensionality (1-D / 2-D / 3-D).

pycsamt.ai.domain_gap.add_heteroscedastic_noise

Add complex, per-observation heteroscedastic Gaussian noise.

pycsamt.ai.domain_gap.apply_corruption_suite

Apply the full, ordered M3 corruption pipeline from a single seed.

pycsamt.ai.domain_gap.apply_dropout

Mark stations, frequencies, or individual observations as missing.

pycsamt.ai.domain_gap.apply_empirical_corruption

Apply jointly sampled field profiles and empirical error quantiles.

pycsamt.ai.domain_gap.apply_error_floor

Clamp the declared error to a minimum fraction of |Z|.

pycsamt.ai.domain_gap.apply_galvanic_distortion

Inject a per-station real Groom & Bailey-style distortion matrix.

pycsamt.ai.domain_gap.apply_static_shift

Multiply every present component by a per-station real factor.

pycsamt.ai.domain_gap.audit_survey

Audit a raw survey and account for every included/excluded station.

pycsamt.ai.domain_gap.compare_feature_distributions

Compare two 1-D samples of the same feature quantitatively.

pycsamt.ai.domain_gap.compare_survey_distributions

Compare simulated and field surveys across several canonical features.

pycsamt.ai.domain_gap.CorruptionConfig

Parameter ranges for one corruption pass over a SurveyData.

pycsamt.ai.domain_gap.CorruptionRecord

Provenance of one applied apply_corruption_suite() call.

pycsamt.ai.domain_gap.DimensionalitySummary

Survey-wide aggregate of pre2d_inversion_assessment().

pycsamt.ai.domain_gap.DistributionComparisonReport

Collection of FeatureComparison results across features.

pycsamt.ai.domain_gap.EmpiricalCorruptionResult

One corrupted survey and every sampled latent array.

pycsamt.ai.domain_gap.FeatureComparison

Quantitative comparison of one feature between two distributions.

pycsamt.ai.domain_gap.fit_corruption_config

Derive plausible noise/dropout ranges from a real survey's QC.

pycsamt.ai.domain_gap.fit_distortion_priors_from_sites

Estimate empirical static-shift and distortion spreads from real EDI.

pycsamt.ai.domain_gap.FrequencyGridReport

Whether every included station shares one frequency grid.

pycsamt.ai.domain_gap.inject_outliers

Perturb a random fraction of valid observations by a large factor.

pycsamt.ai.domain_gap.perturb_coordinates

Add Gaussian noise to station coordinates and elevation.

pycsamt.ai.domain_gap.StationExclusion

One station dropped before the canonical survey bridge.

pycsamt.ai.domain_gap.survey_data_from_sites

Bridge EDI/Sites/APISurvey input to canonical SurveyData.

pycsamt.ai.domain_gap.SurveyAuditReport

Complete M1 accounting of one survey's data quality.

pycsamt.ai.download_checkpoint

Download a pre-trained checkpoint to the local cache.

pycsamt.ai.DRCNNNet

Factory wrapper for the Dense Residual CNN.

pycsamt.ai.DUHIInverter2D

Prepare an Occam2D project for DUHI physics refinement.

pycsamt.ai.DUHIPreparation

Summarize one completed DUHI Occam2D preparation.

pycsamt.ai.em_context

Lightweight context manager shorthand.

pycsamt.ai.EMCheckpoint

Minimal checkpoint for saving/loading EM network state.

pycsamt.ai.EMDataset

PyTorch Dataset-compatible wrapper for a ForwardDataset.

pycsamt.ai.EMDenoiser

Convolutional autoencoder for MT impedance tensor denoising.

pycsamt.ai.EMInverter1D

1-D EM neural-network inverter.

pycsamt.ai.EMInverter2D

U-Net–based 2-D MT inversion estimator.

pycsamt.ai.EMQCScorer

ML-based per-frequency QC scorer for MT impedance data.

pycsamt.ai.EMStyle

Context manager that applies the shared EM plot style.

pycsamt.ai.EMTrainer

Training loop manager for EM 1-D inversion networks.

pycsamt.ai.EnsembleInverter

Deep ensemble of EMInverter1D models.

pycsamt.ai.experiments.AcceptanceCriterion

Predeclare one numerical condition required for an experiment gate.

pycsamt.ai.experiments.DatasetReference

Pin an experiment to exact dataset preparation artifacts.

pycsamt.ai.experiments.ExperimentConfig

Immutable source of truth for one reproducible inversion experiment.

pycsamt.ai.experiments.GateEvaluation

Immutable result of evaluating configured acceptance criteria.

pycsamt.ai.experiments.SeedPlan

Derive stable, labeled child seeds from one experiment root seed.

pycsamt.ai.FCN1DNet

Factory wrapper for the fully-convolutional 1-D EM network.

pycsamt.ai.GCNInverter3D

Graph-convolutional 3-D MT inversion estimator.

pycsamt.ai.GCNNet

Factory that builds a PyTorch or TensorFlow GCN.

pycsamt.ai.geology.BenchmarkGeology

One generated benchmark resistivity model with provenance.

pycsamt.ai.geology.CorrelatedField

Immutable generated scalar field with complete generation provenance.

pycsamt.ai.geology.directional_variogram

Calculate an unbinned empirical directional semivariogram.

pycsamt.ai.geology.DirectionalVariogram

Empirical semivariance along one canonical geological axis.

pycsamt.ai.geology.ElectricalLayer

Define the electrical distribution of one stratigraphic unit.

pycsamt.ai.geology.EllipsoidalLens

Define a rotated 2-D elliptical or 3-D ellipsoidal electrical body.

pycsamt.ai.geology.GaussianCorrelation

Anisotropic Gaussian spatial-correlation model.

pycsamt.ai.geology.generate_benchmark_geology

Generate one deterministic ID or structural-OOD geology.

pycsamt.ai.geology.generate_gaussian_field

Generate a deterministic anisotropic Gaussian random field.

pycsamt.ai.geology.generate_layered_geology

Generate a correlated 2-D section or 3-D layered electrical volume.

pycsamt.ai.geology.GeologyGrid

Immutable regular cell-centre grid for 2-D or 3-D geological priors.

pycsamt.ai.geology.insert_lenses

Insert electrical lenses into a layered model with explicit overlap rules.

pycsamt.ai.geology.interpolate_topography

Interpolate projected elevation samples onto a geological grid.

pycsamt.ai.geology.LayeredGeology

Immutable discretized layered electrical geology.

pycsamt.ai.geology.LensGeology

Immutable layered model after one or more lens insertions.

pycsamt.ai.geology.TopographicSurface

Immutable terrain elevation raster aligned to a geological grid.

pycsamt.ai.geology.topography_from_sites

Extract station elevations with pycsamt.topo and rasterize them.

pycsamt.ai.get_pretrained_info

Return metadata for a registered pre-trained model.

pycsamt.ai.JointInverter

Multi-modal joint inversion estimator based on DRCNN.

pycsamt.ai.layer_rmse

Per-column RMSE vector.

pycsamt.ai.list_pretrained

Return a dict of available pre-trained models.

pycsamt.ai.losses.boundary_condition_loss

Penalize predicted values that violate a boundary constraint.

pycsamt.ai.losses.BoundaryLoss

Configurable, callable boundary-condition penalty.

pycsamt.ai.losses.calibration_loss

Penalize deviation between empirical and nominal coverage.

pycsamt.ai.losses.depth_weights

Return inverse-depth weights normalized to sum to one.

pycsamt.ai.losses.gaussian_nll_loss

Compute a heteroscedastic Gaussian negative log-likelihood.

pycsamt.ai.losses.gradient_smoothness_loss

Penalize first-difference magnitude along one grid axis.

pycsamt.ai.losses.model_huber_loss

Masked, weighted Huber loss, robust to outlier cells.

pycsamt.ai.losses.model_l1_loss

Masked, weighted mean/summed absolute error.

pycsamt.ai.losses.model_l2_loss

Masked, weighted mean/summed squared error.

pycsamt.ai.losses.ModelLoss

Configurable, callable masked model data-fit loss.

pycsamt.ai.losses.ModelLossResult

Immutable scalar result of a model data-fit loss.

pycsamt.ai.losses.response_loss_from_contracts

Compute L_response directly from canonical result/survey.

pycsamt.ai.losses.response_residual_loss

Compare predicted and observed complex impedance responses.

pycsamt.ai.losses.ResponseLoss

Configurable, callable response-consistency loss.

pycsamt.ai.losses.ResponseLossResult

Immutable scalar result of a response-consistency loss.

pycsamt.ai.losses.SpatialLoss

Configurable combination of gradient and TV regularizers.

pycsamt.ai.losses.SpatialLossResult

Immutable scalar result of a spatial regularization loss.

pycsamt.ai.losses.total_variation_loss

Penalize anisotropic total variation over every spatial axis.

pycsamt.ai.losses.UncertaintyLoss

Configurable, callable heteroscedastic Gaussian NLL loss.

pycsamt.ai.losses.UncertaintyLossResult

Immutable scalar result of an uncertainty-aware loss.

pycsamt.ai.mae

Mean absolute error, ignoring NaN.

pycsamt.ai.masked_mse_loss

MSE loss that ignores NaN (padding) entries in target.

pycsamt.ai.Normalizer

Z-score normaliser that handles NaN values.

pycsamt.ai.plot_compare

Multi-panel comparison of true and predicted 1-D resistivity profiles.

pycsamt.ai.plot_confusion_matrix

Plot a confusion matrix for a classification model.

pycsamt.ai.plot_convergence

Plot train / validation loss curves from a trainer history dict.

pycsamt.ai.plot_feature_importance

Horizontal bar chart of feature importances.

pycsamt.ai.plot_layer_errors

Per-layer mean absolute error bar chart.

pycsamt.ai.plot_lr_schedule

Standalone learning-rate schedule plot.

pycsamt.ai.plot_profile_pair

Plot a single true/predicted resistivity–depth pair on ax.

pycsamt.ai.plot_pseudo_section

Apparent-resistivity or phase pseudo-section plot.

pycsamt.ai.plot_residuals

Scatter plots of predicted vs. true for each model parameter.

pycsamt.ai.plot_section

Plot a 2-D resistivity section.

pycsamt.ai.plot_section_pair

Side-by-side comparison of true and predicted 2-D resistivity sections.

pycsamt.ai.plot_uncertainty_bands

1-D prediction curve with uncertainty bands.

pycsamt.ai.PosteriorCalibrator

Gaussianization normalising flow for calibrated posterior sampling.

pycsamt.ai.prepare_z_features

Extract an impedance feature array from a site collection.

pycsamt.ai.r2

Coefficient of determination R², ignoring NaN.

pycsamt.ai.RandomApply

Apply an augmenter with probability p.

pycsamt.ai.relative_rmse

Normalised RMSE: sqrt(mean((y_true - y_pred)² / y_true²)).

pycsamt.ai.ResNet1DNet

Factory wrapper for the 1-D residual CNN.

pycsamt.ai.rmse

Root mean square error, ignoring NaN.

pycsamt.ai.summarise

Compute all scalar metrics and return as a dict.

pycsamt.ai.UNet2DNet

Factory wrapper for the 2-D U-Net.

pycsamt.ai.validation.depth_profile_mae

Return per-layer masked MAE along one grid axis.

pycsamt.ai.validation.depth_profile_rmse

Return per-layer masked RMSE along one grid axis.

pycsamt.ai.validation.empirical_coverage

Compute empirical coverage of Gaussian predictive intervals.

pycsamt.ai.validation.flag_out_of_distribution

Score inputs and flag those outside the training support.

pycsamt.ai.validation.ood_score

Score how far new inputs fall from the training distribution.

pycsamt.ai.validation.OODReport

Immutable out-of-distribution screening result.

pycsamt.ai.validation.predictive_sharpness

Return the masked mean predictive standard deviation.

pycsamt.ai.validation.recovery_report

Summarize synthetic-recovery quality for one grid pair.

pycsamt.ai.validation.RecoveryReport

Immutable synthetic-recovery diagnostics for one grid pair.

pycsamt.ai.validation.reliability_curve

Build a full calibration report for Gaussian predictive intervals.

pycsamt.ai.validation.ReliabilityCurve

Immutable calibration report for Gaussian predictive intervals.

pycsamt.ai.validation.response_residual_report

Break complex-impedance residuals down by station/frequency/ component.

pycsamt.ai.validation.response_residual_report_from_contracts

Build a ResponseResidualReport directly from a ForwardResult/SurveyData pair.

pycsamt.ai.validation.ResponseResidualReport

Immutable per-axis complex-impedance residual diagnostics.

pycsamt.ai.validation.structural_similarity

Compute the mean structural similarity index (SSIM).

pycsamt.airborne.AirborneEMDataset

Format-neutral collection of airborne EM flight lines.

pycsamt.airborne.AirborneEMLine

One airborne flight line with navigation and sparse EM records.

pycsamt.airborne.AirborneEMRecord

One sample-aligned airborne EM scientific record.

pycsamt.airborne.AirborneFormatDefinition

Describe one concrete native airborne delivery format.

pycsamt.airborne.AirborneInspection

Compact scientific inventory of an airborne object.

pycsamt.airborne.AirborneQCIssue

One structural/metadata QC finding.

pycsamt.airborne.AirborneQCReport

Common structural QC report for an airborne dataset.

pycsamt.airborne.AirborneSite

One airborne flight-line sample, read directly from its EMTF.

pycsamt.airborne.AirborneSites

Ordered collection of AirborneSite objects.

pycsamt.airborne.AirborneTechnologyDefinition

Describe one scientific airborne-EM technology contract.

pycsamt.airborne.assess_airborne_qc

Assess common structural completeness and metadata consistency.

pycsamt.airborne.available_airborne_readers

Return native formats with a registered reader.

pycsamt.airborne.available_airborne_writers

Return native formats with a registered writer.

pycsamt.airborne.detect_airborne_format

Detect a registered native format using detectors, then extensions.

pycsamt.airborne.detect_airborne_technology

Return one canonical technology, or report/ignore mixed content.

pycsamt.airborne.ensure_asites

Normalize arbitrary airborne input to an AirborneSites.

pycsamt.airborne.get_airborne_format

Return a native format definition by name or alias, or None.

pycsamt.airborne.get_airborne_technology

Return a technology definition by canonical name or alias.

pycsamt.airborne.identify_airborne_technologies

Return canonical technologies explicitly or safely identified.

pycsamt.airborne.inspect_airborne

Return a compact inventory for dataset, line, record, or EMTF object.

pycsamt.airborne.list_airborne_formats

Return registered native formats, optionally for one technology.

pycsamt.airborne.list_airborne_technologies

Return registered technologies in registration order.

pycsamt.airborne.NavigationTrack

Sample-aligned navigation and attitude information for one line.

pycsamt.airborne.read_airborne

Read one verified native airborne delivery into the common dataset.

pycsamt.airborne.register_airborne_format

Register a concrete native airborne file/delivery format.

pycsamt.airborne.register_airborne_technology

Register one scientific technology definition.

pycsamt.airborne.write_airborne

Write a dataset through a verified native airborne writer.

pycsamt.api.AgentConfig

Global LLM configuration singleton for all pycsamt agents.

pycsamt.api.agents.AgentConfig

Global LLM configuration singleton for all pycsamt agents.

pycsamt.api.api_frame

Decorate a function so dataframe-like returns become APIFrame.

pycsamt.api.APIFrame

A pyCSAMT dataframe view that keeps pandas behavior intact.

pycsamt.api.APIResult

Container for named result parts, including one or more tables.

pycsamt.api.APISurvey

Friendly public facade over an EDICollection.

pycsamt.api.APIViewConfig

Package-wide policy for dataframe-like public API views.

pycsamt.api.BuildConfig

Build / processing execution settings.

pycsamt.api.cell_edges_from_centres

Return an (n+1,) cell-boundary array from an (n,) centre array.

pycsamt.api.common_options

Attach verbose, no-color, format, and output-dir to a command.

pycsamt.api.configure_agents

Configure AGENT_CONFIG in one call and return it.

pycsamt.api.configure_api_view

Configure the global API view backend.

pycsamt.api.configure_cli

Configure PYCSAMT_CLI with dotted-path arguments.

pycsamt.api.configure_contour

Configure the live PYCSAMT_CONTOUR style.

pycsamt.api.configure_control

Configure PYCSAMT_CONTROL with dotted-path arguments.

pycsamt.api.configure_interp

Configure PYCSAMT_INTERP using dotted-path keys.

pycsamt.api.configure_mesh

Configure PYCSAMT_MESH.

pycsamt.api.configure_occam1d_style

Configure and return a copy of the live default style.

pycsamt.api.configure_ordering

Configure and return the global ordering singleton.

pycsamt.api.configure_pipe

Configure the global PYCSAMT_PIPE singleton.

pycsamt.api.configure_progress

Configure PYCSAMT_PROGRESS with keyword arguments.

pycsamt.api.configure_section

Configure PYCSAMT_SECTION.

pycsamt.api.configure_station_rendering

Configure PYCSAMT_STATION_RENDERING.

pycsamt.api.configure_style

Configure PYCSAMT_STYLE with dotted-path keyword arguments.

pycsamt.api.configure_topo

Configure the global PYCSAMT_TOPO singleton.

pycsamt.api.ContourStyle

Rendering and optional labeling settings for contour overlays.

pycsamt.api.CorrectionStyle

Consistent before/after visual pair for any 1-D correction workflow.

pycsamt.api.draw_mesh

Draw a structured mesh: an optional color fill, optional cell edges.

pycsamt.api.draw_tri_mesh

Draw an unstructured triangular mesh: color fill and/or cell edges.

pycsamt.api.edges_from_geology_grid

Return (x_edges, z_edges) for a 2-D GeologyGrid.

pycsamt.api.edges_from_maxwell_mesh

Return (x_edges, z_edges) for a 2-D MaxwellMesh.

pycsamt.api.EDIDir

A Click Path type for a directory that contains EDI files.

pycsamt.api.EDIPath

A Click Path type that additionally requires a .edi extension.

pycsamt.api.format_option

Add the text, JSON, or CSV output-format option to a Click command.

pycsamt.api.FrameProfile

Small immutable profile describing a dataframe.

pycsamt.api.FreqRange

Parse a fmin:fmax frequency-range string into (float, float).

pycsamt.api.FrequencyAxisControl

Control the 1-D frequency/period axis.

pycsamt.api.geology_dataframe

Return a public APIFrame for a geology catalog.

pycsamt.api.geology_table

Alias for geology_dataframe().

pycsamt.api.get_progress_bar

Build a ProgressBar honouring PYCSAMT_PROGRESS (style, throttle, forced verbosity).

pycsamt.api.HydroProfileStyle

Visual parameters for 1-D hydrogeophysical profile plots.

pycsamt.api.HydroSectionStyle

Visual parameters for 2-D hydrogeophysical colour sections.

pycsamt.api.InterpStyle

Complete visual bundle for one hydrogeophysical interpretation preset.

pycsamt.api.iter_progress

Yield items, optionally wrapped by a ProgressBar.

pycsamt.api.load_plot_config

(Re-)load a config file into PLOT_CONFIG.

pycsamt.api.LogConfig

Logging / verbosity settings.

pycsamt.api.maybe_wrap_frame

Conditionally wrap data as an APIFrame.

pycsamt.api.MeshEdgeStyle

Cell-boundary line layer of a mesh display.

pycsamt.api.MeshFillStyle

Color-fill layer of a mesh display.

pycsamt.api.MeshStyle

Complete visual-control bundle for one mesh-display preset.

pycsamt.api.MetadataMixin

Small mixin for attaching free-form object metadata.

pycsamt.api.MTComponentStyle

Consistent colours and markers for MT impedance components and modes.

pycsamt.api.MultilineStyle

Gradient-first coloring for multi-line (multi-station / multi-profile) plots.

pycsamt.api.n_jobs_option

Add the positive --jobs parallel-worker option to a Click command.

pycsamt.api.no_cache_option

Add the --no-cache processing option to a Click command.

pycsamt.api.no_color_option

Add the --no-color terminal-output option to a Click command.

pycsamt.api.Occam1DArtistStyle

Validated Matplotlib properties for one Occam1D visual layer.

pycsamt.api.Occam1DPlotStyle

Complete visual policy for Occam1D model and diagnostic figures.

pycsamt.api.output_dir_option

Add the writable --output-dir path option to a Click command.

pycsamt.api.OutputConfig

Output format and destination settings.

pycsamt.api.overwrite_option

Add the --overwrite confirmation-bypass option to a Click command.

pycsamt.api.PhaseTensorEllipseStyle

Visual style for phase-tensor ellipse plots (psection, map, summary).

pycsamt.api.PhaseViewControl

Control how phase values are wrapped and displayed.

pycsamt.api.pipe.config.PipelineAPIConfig

Runtime configuration for the pyCSAMT pipeline engine.

pycsamt.api.PipelineAPIConfig

Runtime configuration for the pyCSAMT pipeline engine.

pycsamt.api.PlotConfig

Global plot-export configuration singleton for pyCSAMT.

pycsamt.api.progress_enabled

Return whether progress should be displayed.

pycsamt.api.ProgressAPIConfig

Package-wide policy for ProgressBar.

pycsamt.api.ProgressConfig

Configuration for terminal progress display.

pycsamt.api.PyCSAMTCLI

Package-wide CLI configuration container.

pycsamt.api.PyCSAMTContour

Package-wide contour presets and live default style.

pycsamt.api.PyCSAMTControl

Package-wide plotting-view control container.

pycsamt.api.PyCSAMTInterp

Package-wide visual control container for hydro-geophysical plots.

pycsamt.api.PyCSAMTMesh

Package-wide mesh-display control container.

pycsamt.api.PyCSAMTObject

Root object for lightweight pyCSAMT API behavior.

pycsamt.api.PyCSAMTOccam1D

Registry and mutable default for Occam1D visual presets.

pycsamt.api.PyCSAMTSection

Package-wide section-view control container.

pycsamt.api.PyCSAMTStationRendering

Package-wide station rendering control container.

pycsamt.api.PyCSAMTStyle

Global visual-style container for pyCSAMT.

pycsamt.api.quality_dataframe

Return a public APIFrame wrapper around metadata quality rows.

pycsamt.api.quality_table

Alias for quality_dataframe().

pycsamt.api.RawDataStyle

Visual style for raw, unprocessed EM observations.

pycsamt.api.read_edi

Read one EDI file and return an EDIFile.

pycsamt.api.read_edis

Read many EDI files and return a public survey view.

pycsamt.api.read_sites

Alias for read_edis().

pycsamt.api.reset_agents

Reset AGENT_CONFIG to its unconfigured state.

pycsamt.api.reset_api_view

Reset the global API view backend.

pycsamt.api.reset_cli

Reset PYCSAMT_CLI to package defaults.

pycsamt.api.reset_contour

Restore package contour defaults.

pycsamt.api.reset_control

Reset PYCSAMT_CONTROL to package defaults.

pycsamt.api.reset_interp

Reset PYCSAMT_INTERP to package defaults.

pycsamt.api.reset_mesh

Reset PYCSAMT_MESH to package defaults.

pycsamt.api.reset_occam1d_style

Restore the default pyCSAMT Occam1D style.

pycsamt.api.reset_ordering

Reset the global ordering policy to mode='auto'.

pycsamt.api.reset_pipe

Reset PYCSAMT_PIPE to package defaults.

pycsamt.api.reset_plot_config

Reset PLOT_CONFIG to package defaults.

pycsamt.api.reset_progress

Reset PYCSAMT_PROGRESS to package defaults.

pycsamt.api.reset_section

Reset PYCSAMT_SECTION to package defaults.

pycsamt.api.reset_station_rendering

Reset PYCSAMT_STATION_RENDERING to package defaults.

pycsamt.api.reset_style

Reset PYCSAMT_STYLE to package defaults.

pycsamt.api.reset_topo

Reset PYCSAMT_TOPO to package defaults.

pycsamt.api.resolve_occam1d_style

Resolve None, a preset name, or an explicit style instance.

pycsamt.api.RhoViewControl

Control apparent-resistivity display scale.

pycsamt.api.RoseStyle

Visual style bundle shared by all pycsamt rose diagram functions.

pycsamt.api.save_fig

Save a pyCSAMT figure using the global PLOT_CONFIG settings.

pycsamt.api.SectionAxisStyle

Axis behavior for section-like plots.

pycsamt.api.SectionColorbarStyle

Colorbar geometry and tick-density controls.

pycsamt.api.SectionFigureStyle

Figure geometry for section-like plots.

pycsamt.api.SectionStyle

Complete visual-control bundle for one section preset.

pycsamt.api.set_dpi

Set the global raster DPI on PLOT_CONFIG.

pycsamt.api.set_fmt

Set the global export format(s) on PLOT_CONFIG.

pycsamt.api.set_savedir

Set the global output directory on PLOT_CONFIG.

pycsamt.api.SiteOrderingConfig

Global site-ordering strategy and automatic-line thresholds.

pycsamt.api.sites_summary

Return a public APIFrame wrapper around emtools site summary.

pycsamt.api.StationAxisStyle

Station-axis tick, label, and marker configuration.

pycsamt.api.StationList

Parse a comma-separated list of station identifiers.

pycsamt.api.StationMarkerStyle

Marker style used to draw stations along a profile axis.

pycsamt.api.triangulation_from_tri_mesh

Return a matplotlib.tri.Triangulation for a 2-D TriMesh.

pycsamt.api.use_contour

Copy a named contour preset into the live default style.

pycsamt.api.use_interp

Activate a named preset in PYCSAMT_INTERP.

pycsamt.api.use_occam1d_style

Select a named Occam1D style as the live default.

pycsamt.api.use_style

Apply a named full-package style preset to PYCSAMT_STYLE.

pycsamt.api.verbose_option

Add the repeatable --verbose logging option to a Click command.

pycsamt.api.wrap_frame

Wrap dataframe-like data using the configured API view backend.

pycsamt.api.wrap_phase

Wrap phase values into phase_range.

pycsamt.api.wrap_result

Wrap a mapping of result parts as an APIResult.

pycsamt.api.write_default_config

Write a template config file with the current PLOT_CONFIG values.

pycsamt.backends.auto_detect

Detect the best available backend and activate it.

pycsamt.backends.detect_available_backends

Return a list of available deep-learning backends.

pycsamt.backends.get_backend

Return the name of the currently active backend.

pycsamt.backends.get_backend_instance

Return the concrete NeuralBackend instance for the active backend, or None when no DL framework is installed.

pycsamt.backends.get_backend_versions

Return version strings for installed backends.

pycsamt.backends.list_backends

Return availability status for all known backends.

pycsamt.backends.probe_backend

Return True if name is importable in the current environment.

pycsamt.backends.set_backend

Set the active AI backend.

pycsamt.core.bundle_from_edi

Build a TFBundle from an EDI-like object.

pycsamt.core.BundleContainerMixin

Mixin for containers of items that implement to_bundle.

pycsamt.core.BundleMixin

Mixin for single items convertible to and from bundles.

pycsamt.core.config_context

Context manager for temporary configuration overrides.

pycsamt.core.configure

Update configuration fields with validation.

pycsamt.core.CoreConfig

Global configuration container for pycsamt.

pycsamt.core.CoreObject

Minimal base class for PyCSAMT objects and mixins.

pycsamt.core.FileManifestStore

Disk-backed Manifest persistence utilities.

pycsamt.core.get_adapter

Return the adapter factory for a key.

pycsamt.core.get_config

Return the live CoreConfig singleton.

pycsamt.core.get_packer

Return the registered packer for kind or None.

pycsamt.core.guess_kind

Best-effort classification for common MT/EM artefacts.

pycsamt.core.list_adapters

List registered adapters with readable names.

pycsamt.core.list_packers

List available packers as a mapping of kind to signatures.

pycsamt.core.Manifest

Container mapping record ids to Record objects.

pycsamt.core.ManifestStore

Interface for loading and saving Manifest objects.

pycsamt.core.MTBase

Common electromagnetic and MT utilities.

pycsamt.core.pack_to_file

Serialize an object to .npz using a registered packer.

pycsamt.core.Record

A single registry item with identifiers and metadata.

pycsamt.core.register_adapter

Register a format adapter that yields an EDI object or collection.

pycsamt.core.register_packer

Register a serializer/deserializer pair for a given kind.

pycsamt.core.Registry

High-level helper to manage a file-backed registry.

pycsamt.core.RegistryAPI

Convenience façade over Registry.

pycsamt.core.reset_config

Reset the global configuration to factory defaults.

pycsamt.core.StationNamePolicy

Rules to validate and synthesize station names.

pycsamt.core.TFBundle

Lightweight, neutral payload for transfer functions.

pycsamt.core.to_dict

Serialize the current configuration to a plain dict.

pycsamt.core.to_edi

Dispatch source to a registered adapter and return EDI.

pycsamt.core.TransformerMixin

Template utilities for AVG/J -> EDI transformations.

pycsamt.core.unpack_from_file

Deserialize an object from .npz using a registered packer.

pycsamt.emtf.bundle_to_emtf

Return EMTF from the established TFBundle bridge.

pycsamt.emtf.DataTypeDefinition

Describe one electromagnetic transfer-function data type.

pycsamt.emtf.edi_to_emtf

Convert a historical SEG EDI object/path into EMTF.

pycsamt.emtf.EMTF

Format-neutral electromagnetic transfer-function document.

pycsamt.emtf.emtf_to_bundle

Return a backward-compatible TFBundle view of an EMTF document.

pycsamt.emtf.emtf_to_edi

Convert EMTF into an in-memory historical EDIFile.

pycsamt.emtf.EMTFXMLReader

Read EMTF XML without routing the document through EDI.

pycsamt.emtf.EMTFXMLSerializer

Build a deterministic EMTF XML element tree from an EMTF.

pycsamt.emtf.EMTFXMLWriter

Serialize EMTF documents as EMTF XML.

pycsamt.emtf.get_emtf_datatype

Return a registered definition by semantic tag, code, or alias.

pycsamt.emtf.horizontal_inverse_rotation_matrix

Return the inverse of horizontal_rotation_matrix().

pycsamt.emtf.horizontal_rotation_matrix

Return the FCU Q transform from two channels to an orthogonal frame.

pycsamt.emtf.list_emtf_datatypes

Return a copy of registered data types keyed by semantic tag.

pycsamt.emtf.read_emtf_xml

Convenience wrapper around EMTFXMLReader.

pycsamt.emtf.recover_spectra_transfer_functions

Recover Z/T and full covariance from an EDI SPECTRA container.

pycsamt.emtf.register_emtf_datatype

Register and return an EMTF data-type definition.

pycsamt.emtf.resolve_spectra_channels

Resolve FCU local/remote channel roles from SPECTRA channel order.

pycsamt.emtf.rotate_covariance

Rotate an inverse-signal or residual covariance matrix family.

pycsamt.emtf.rotate_emtf

Rotate all primary transfer functions in an EMTF document.

pycsamt.emtf.rotate_transfer_function

Rotate one matrix-valued transfer function and supported estimates.

pycsamt.emtf.RotationMatrices

Per-period input and output matrices used in an EMTF rotation.

pycsamt.emtf.spectra_to_emtf

Convert EDI SPECTRA to the format-neutral EMTF scientific model.

pycsamt.emtf.SpectraChannelMap

Resolved local, remote, and output channel indices.

pycsamt.emtf.SpectraRecoveryResult

Numerical result of one FCU-compatible SPECTRA recovery.

pycsamt.emtf.StatisticalEstimate

Represent a frequency-indexed statistical estimate.

pycsamt.emtf.TransferFunction

Represent one matrix-valued electromagnetic transfer function.

pycsamt.emtf.write_edi

Write an EMTF or EDIFile to an exact filesystem target.

pycsamt.emtf.write_emtf_xml

Convenience wrapper around EMTFXMLWriter.

pycsamt.emtools.admittance_determinant_table

Return the theoretical Berdichevsky-determinant admittance table.

pycsamt.emtools.admittance_skew_table

Return a Swift (1967)-style skew table for the admittance tensor.

pycsamt.emtools.admittance_table

Return a tidy per-(line, sample, frequency) admittance table.

pycsamt.emtools.afmag_tilt_angles

Return per-station, per-frequency AFMAG tilt angles as a table.

pycsamt.emtools.align_grid

pycsamt.emtools.align_tensor

Align a tensor component to a reference frequency grid.

pycsamt.emtools.analyze_anisotropy

Per-frequency anisotropy metrics for a set of CSAMT sites.

pycsamt.emtools.anisotropy_table

Per-station summary of anisotropy metrics.

pycsamt.emtools.antisymmetrize

pycsamt.emtools.apply_emap_filter

Apply one EMAP-style spatial filter to MT/AMT sites.

pycsamt.emtools.apply_groom_bailey

Remove fitted Groom-Bailey galvanic distortion from impedance tensors.

pycsamt.emtools.apply_ss_factors

Apply pre-computed static-shift correction factors to sites.

pycsamt.emtools.array_factor

Normalised array factor AF_n for an N-element linear PAS (eq.

pycsamt.emtools.bahr_skewness

pycsamt.emtools.balance_offdiag

pycsamt.emtools.band_select

Return a new Spectra restricted to the frequency band [f_min, f_max] Hz.

pycsamt.emtools.beam_steer

Inter-element phase shift β [rad] to steer the main lobe to θ_m (eq.

pycsamt.emtools.bostick_depth

Bostick depth estimate per station per frequency from measured data.

pycsamt.emtools.bostick_depth_from_rho

Bostick depth estimate D(f) from apparent resistivity.

pycsamt.emtools.build_phase_tensor_table

pycsamt.emtools.build_qc_table

pycsamt.emtools.check_em_kind

Validate a collection of EM objects and return their common kind.

pycsamt.emtools.classify_dimensionality

pycsamt.emtools.classify_field_zones

Classify CSAMT measurement zones per station per frequency.

pycsamt.emtools.close_skew_gaps

pycsamt.emtools.coherence_matrix

Compute the inter-channel coherence matrix.

pycsamt.emtools.coherence_table

Inter-channel squared coherence as a tidy DataFrame.

pycsamt.emtools.coil_normal_direction

Return the coil-normal unit vector \(N_L\) in the local frame.

pycsamt.emtools.compute_qc

Assess data quality across a collection of EDI/Z objects.

pycsamt.emtools.confidence_gated_emap_filter

Apply EMAP filtering only as strongly as confidence requires.

pycsamt.emtools.confidence_ratio

Compute the composite confidence ratio from diagnostic scores.

pycsamt.emtools.correct_motion_induced_noise

Return the motion-noise-corrected signal (Liu et al. 2018 Sec.

pycsamt.emtools.correct_near_field

Correct impedance tensor for CSAMT near-field contamination.

pycsamt.emtools.correct_ss_ama

Correct static shift by the AMA method.

pycsamt.emtools.correct_static_shift

Remove static shift via Hanning adaptive moving-average (AMA) spatial filter.

pycsamt.emtools.coverage_score

Empirical coverage fraction of a prediction interval (kouadio2025 eq.

pycsamt.emtools.coverage_table

Per-station coverage summary.

pycsamt.emtools.decimate_step

pycsamt.emtools.depth_coverage_table

Summary depth-coverage statistics per station.

pycsamt.emtools.detect_near_surface

Detect and classify near-surface distortion in CSAMT/MT apparent resistivity curves.

pycsamt.emtools.detect_source_overprint

Per-frequency source overprint β index for a set of CSAMT sites.

pycsamt.emtools.drop_duplicates

pycsamt.emtools.drop_freqs_manual

Drop Z (and tipper) rows at user-specified frequencies.

pycsamt.emtools.drop_low_confidence_frequencies

Drop rows whose frequency confidence is below threshold.

pycsamt.emtools.edit_frequencies_by_confidence

Edit frequency rows and return diagnostics in one workflow.

pycsamt.emtools.emap_filter_report

Summarize station-level changes after an EMAP-style filter.

pycsamt.emtools.EMAPFilterResult

Container returned by confidence-gated EMAP filtering.

pycsamt.emtools.encode_dimensionality

pycsamt.emtools.enforce_offdiag_consistency

pycsamt.emtools.ensure_mobilemt_dataset

Normalize a dataset or single line to an AirborneEMDataset.

pycsamt.emtools.ensure_sites

Normalize arbitrary user input to a Sites object.

pycsamt.emtools.estimate_ss_ama

Estimate AMA static-shift correction factors.

pycsamt.emtools.estimate_ss_bilateral

Estimate static-shift factors via bilateral filtering.

pycsamt.emtools.estimate_ss_loess

Estimate static-shift factors via locally-weighted regression (LOESS).

pycsamt.emtools.estimate_ss_refmedian

Estimate static-shift factors via reference-median method.

pycsamt.emtools.estimate_strike_consensus

pycsamt.emtools.estimate_strike_phase_tensor

pycsamt.emtools.estimate_strike_sweep

pycsamt.emtools.euler_rotation_matrix

Return the ZYX "airline convention" attitude rotation matrix.

pycsamt.emtools.export_confidence_map

Export station confidence to CSV and/or a Surfer DSAA grid.

pycsamt.emtools.export_edis

Export new EDI files from a batch of EDI objects and Z tensors.

pycsamt.emtools.extract_z_list

Return a list of Z objects from EDI or Z inputs.

pycsamt.emtools.fixed_length_moving_average

Apply a fixed-length EMAP moving average along a profile.

pycsamt.emtools.flag_motion_susceptible_band

Flag/mask a station's low-frequency tipper band as motion-suspect.

pycsamt.emtools.frequency_confidence_table

Return frequency-level confidence scores for EM stations.

pycsamt.emtools.frequency_coverage

pycsamt.emtools.frequency_edit_decision_table

Return one row per original station-frequency edit decision.

pycsamt.emtools.frequency_edit_report

Summarize station-level changes after frequency editing.

pycsamt.emtools.frequency_for_depth

Invert the Bostick formula: return the frequency (Hz) that maps to a given depth for a background resistivity rho.

pycsamt.emtools.frequency_schedule

Design a CSUMT frequency schedule that samples a set of target depths.

pycsamt.emtools.FrequencyEditResult

Container returned by confidence-based frequency editing.

pycsamt.emtools.full_freq

Return the reference (clean) frequency grid for a collection.

pycsamt.emtools.geomagnetic_field_direction

Return the local geomagnetic field unit vector \(B_E\).

pycsamt.emtools.groom_bailey_decomposition

Estimate, and optionally apply, Groom-Bailey distortion correction.

pycsamt.emtools.groom_bailey_table

Estimate Groom-Bailey-style galvanic distortion parameters.

pycsamt.emtools.GroomBaileyResult

Container returned by groom_bailey_decomposition().

pycsamt.emtools.hampel_filter_freq

Remove frequency-domain outliers with a sliding Hampel filter.

pycsamt.emtools.invert

pycsamt.emtools.keep_longest_low_skew

pycsamt.emtools.lcurve_from_mare2dem

Build an LCurveData sweep from a MARE2DEM convergence log.

pycsamt.emtools.lcurve_from_modem

Build an LCurveData sweep from a ModEM NLCG log.

pycsamt.emtools.lcurve_from_occam2d

Build an LCurveData sweep from an Occam2D convergence log.

pycsamt.emtools.lcurve_table

pycsamt.emtools.LCurveData

Misfit/roughness/lambda sweep extracted from a real inversion log.

pycsamt.emtools.learn_dim_dictionary

pycsamt.emtools.list_missing_sections

pycsamt.emtools.mask_by_dictionary

pycsamt.emtools.mask_by_dimensionality

pycsamt.emtools.mask_by_skew

pycsamt.emtools.mask_incoherent_freqs

Mask frequencies that fail the requested cross-station SNR vote.

pycsamt.emtools.mask_low_coherence

Boolean mask of frequencies with sufficient coherence.

pycsamt.emtools.mask_low_confidence_frequencies

Set low-confidence frequency rows to NaN without changing the grid.

pycsamt.emtools.mask_outside_mobilemt_band

Mask admittance/conductivity outside the usable MobileMT band.

pycsamt.emtools.mask_outside_ztem_band

Mask/drop tipper frequencies outside the usable ZTEM band.

pycsamt.emtools.motion_coupling_angle

Return \(\theta(t)\) in degrees.

pycsamt.emtools.motion_coupling_cosine

Return \(\cos\theta(t)\), the coil/field coupling factor.

pycsamt.emtools.motion_susceptibility_table

Score each station's exposure to motion-induced noise.

pycsamt.emtools.near_field_factor

Near-field correction factor for apparent resistivity (equatorial HED).

pycsamt.emtools.normalize_response

Normalized apparent resistivity and subtracted phase (Wang & Lin 2023).

pycsamt.emtools.notch_powerline

Suppress mains-frequency harmonics in impedance and tipper data.

pycsamt.emtools.nr_qc_delta_offdiag_psection

Plot denoising changes in off-diagonal impedance as a pseudosection.

pycsamt.emtools.nr_qc_harmonic_waterfall

Plot harmonic-noise reduction by station and mains harmonic.

pycsamt.emtools.nr_qc_snr_gain_profile

Plot the station-by-station SNR gain produced by denoising.

pycsamt.emtools.nr_qc_station_offdiag_curves

Compare raw and denoised off-diagonal curves for one station.

pycsamt.emtools.orient_from_sensors

pycsamt.emtools.overlay_noise_cone

Overlay lower and upper noise envelopes on an existing period axis.

pycsamt.emtools.overlay_spectral_holes

Highlight gaps in spectral coverage on an existing QC plot.

pycsamt.emtools.overprint_beta

Ground-wave / surface-wave amplitude ratio β_Ey (%).

pycsamt.emtools.parse_tensor

Parse and validate a tensor request, returning name and component.

pycsamt.emtools.pas_pattern

Total normalised far-field pattern of an N-element PAS.

pycsamt.emtools.phase_features_table

pycsamt.emtools.phase_rotate_table

Hilbert-transform "phase-rotated" ZTEM profile at one frequency.

pycsamt.emtools.phase_tensor_legend

Draw a labeled reference phase-tensor ellipse.

pycsamt.emtools.plot_afmag_correction_comparison

Plot before/after/delta AFMAG tilt pseudosections.

pycsamt.emtools.plot_afmag_tilt_polar

Polar view of AFMAG tilt: azimuth and magnitude vs. period.

pycsamt.emtools.plot_afmag_tilt_profile

Plot the classic AFMAG flight-line tilt-angle profile.

pycsamt.emtools.plot_afmag_tilt_psection

Plot an AFMAG tilt-angle pseudosection (station x log-period).

pycsamt.emtools.plot_anisotropy

Plot anisotropy metric pseudo-section (station × frequency).

pycsamt.emtools.plot_apparent_anisotropy_section

Apparent-anisotropy pseudosection: log₁₀(ρa_XY / ρa_YX).

pycsamt.emtools.plot_apparent_depth_psection

pycsamt.emtools.plot_apparent_resistivity_polar

Apparent-resistivity polar diagram: ρa(θ) petals per period.

pycsamt.emtools.plot_atom_psection

pycsamt.emtools.plot_band_microstrips

pycsamt.emtools.plot_coherence

Plot squared coherence for selected channel pairs.

pycsamt.emtools.plot_coherence_section

Pseudo-section of coherence across stations (station × period).

pycsamt.emtools.plot_confidence

Plot confidence diagnostics from tensor errors for EM data.

pycsamt.emtools.plot_confidence_band_summary

Plot line-wide confidence statistics for each period sample.

pycsamt.emtools.plot_confidence_component_map

Plot publication-style maps of confidence and its components.

pycsamt.emtools.plot_confidence_map

Map station-level confidence at geographic or projected coordinates.

pycsamt.emtools.plot_confidence_method_comparison

Compare presence and composite confidence on matched station maps.

pycsamt.emtools.plot_confidence_profile

Profile confidence-ratio (CR) scatter plot along the survey line.

pycsamt.emtools.plot_consistency_fan

Plot cross-station response consistency as a fan diagram.

pycsamt.emtools.plot_coverage

pycsamt.emtools.plot_coverage_psection

Plot frequency coverage and data availability as a pseudosection.

pycsamt.emtools.plot_coverage_quality_heatmap

pycsamt.emtools.plot_depth_coverage_ranking

Horizontal ranking of the deepest Bostick depth reached per station.

pycsamt.emtools.plot_depth_section

Pseudosection of Bostick depth across stations and periods/frequencies.

pycsamt.emtools.plot_determinant_track

pycsamt.emtools.plot_dim_confidence_grid

pycsamt.emtools.plot_dim_map

pycsamt.emtools.plot_dim_occupancy_area

pycsamt.emtools.plot_dimensionality_depth_profile

Dimensionality classification mapped to Bostick depth space.

pycsamt.emtools.plot_dimensionality_grid

pycsamt.emtools.plot_dimensionality_psection

pycsamt.emtools.plot_dimensionality_ternary

1-D / 2-D / 3-D ternary classification diagram.

pycsamt.emtools.plot_distortion_radar

Galvanic-distortion decomposition radar chart.

pycsamt.emtools.plot_ellipticity_psection

pycsamt.emtools.plot_emap_filter_profile

Plot a before/after EMAP filter station profile.

pycsamt.emtools.plot_emap_filter_psection

Plot before/after/delta pseudo-sections for an EMAP filter.

pycsamt.emtools.plot_field_zones

Pseudosection of CSAMT field zones across stations and frequencies.

pycsamt.emtools.plot_frequency_confidence_psection

Plot frequency confidence as a station-period pseudo-section.

pycsamt.emtools.plot_frequency_edit_decisions

Plot dropped, masked, recovered, and kept frequency decisions.

pycsamt.emtools.plot_frequency_edit_summary

Plot station-level before/after frequency-edit summary.

pycsamt.emtools.plot_frequency_schedule

Visualize which requested target depths survive the CSUMT band filter applied by frequency_schedule().

pycsamt.emtools.plot_gradient_section

Pseudo-section of a gradient apparent resistivity quantity.

pycsamt.emtools.plot_impedance_mohr_circles

Double-Mohr-circle diagram of the MT impedance tensor.

pycsamt.emtools.plot_induction_arrows

pycsamt.emtools.plot_induction_convention

2×2 panel: Parkinson/Wiese × Real/Imaginary conventions.

pycsamt.emtools.plot_induction_map

Map-view induction arrows at one period.

pycsamt.emtools.plot_induction_map_from_spectra

Map-view induction arrows from Spectra.

pycsamt.emtools.plot_induction_multiperiod_map

Stacked multi-period induction vector map.

pycsamt.emtools.plot_induction_rose

Rose diagram of induction arrow azimuths (all stations & periods).

pycsamt.emtools.plot_induction_rose_from_spectra

Rose diagram of induction arrow directions from Spectra objects.

pycsamt.emtools.plot_induction_section

Period × station pseudo-section coloured by |T| magnitude.

pycsamt.emtools.plot_lcurve

pycsamt.emtools.plot_mobilemt_admittance_profile

Plot one admittance component along one flight line.

pycsamt.emtools.plot_mobilemt_conductivity_psection

Plot an apparent-conductivity pseudosection for one flight line.

pycsamt.emtools.plot_mobilemt_skew_profile

Plot the admittance skew profile along one flight line.

pycsamt.emtools.plot_motion_coupling

Plot \(\theta(t)\) and \(\cos\theta(t)\) for attitude data.

pycsamt.emtools.plot_motion_susceptibility_map

Map each station's motion-noise susceptibility score.

pycsamt.emtools.plot_mt_composite_section

Multi-row aligned pseudosection: ρa, φ, |β|, θ, SNR.

pycsamt.emtools.plot_normalized_response

Pseudosection of normalized ρ_a and subtracted phase (Wang & Lin 2023).

pycsamt.emtools.plot_ns_detection

Bar chart of the NS index per station, colored by distortion type.

pycsamt.emtools.plot_offdiag_antisym_residual

pycsamt.emtools.plot_overprint_section

Plot source overprint β pseudo-section (station × frequency).

pycsamt.emtools.plot_phase_tensor_map

Publication-quality phase-tensor map at a single period.

pycsamt.emtools.plot_phase_tensor_psection

Phase-tensor ellipse pseudo-section (Caldwell et al. 2004 style).

pycsamt.emtools.plot_phase_tensor_rose

Publication-quality phase-tensor θ rose diagram.

pycsamt.emtools.plot_phase_tensor_skewmap

pycsamt.emtools.plot_phase_tensor_strip

Single-station phase-tensor ellipse strip vs period.

pycsamt.emtools.plot_phase_tensor_strip_grid

Phase-tensor ellipse strips for several stations, grouped by profile.

pycsamt.emtools.plot_phasor_wheel

pycsamt.emtools.plot_polar_coverage

Polar coverage plot: angle ∝ log₁₀(f), radius ∝ ρ_a,obs.

pycsamt.emtools.plot_polar_errors

Polar rose diagram of relative residuals (ε = (ρ_pred − ρ_obs)/ρ_obs × 100 %).

pycsamt.emtools.plot_psd

Plot the power spectral density per channel.

pycsamt.emtools.plot_psd_section

Pseudo-section of PSD across stations (station × period).

pycsamt.emtools.plot_pt_period_clock

Phase-tensor period clock: PT ellipses on concentric rings.

pycsamt.emtools.plot_qc_quicklook

Create a compact multi-panel quality-control summary for a survey.

pycsamt.emtools.plot_radiation_pattern

Plot one or more radiation patterns in polar or Cartesian format.

pycsamt.emtools.plot_raw_sites_1d

Plot raw or processed 1-D rho/phase panels by station.

pycsamt.emtools.plot_response_overview

Single-station MT/CSAMT "full response" overview figure.

pycsamt.emtools.plot_response_tipper

Plot impedance response panels with station-level tipper rows.

pycsamt.emtools.plot_rho_phase_bode

Bode consistency diagram: observed ρa/φ vs Bostick-predicted φ.

pycsamt.emtools.plot_rhoa_phi

pycsamt.emtools.plot_sensitivity_depth_section

Bostick-sensitivity-kernel pseudosection.

pycsamt.emtools.plot_sites_compare

pycsamt.emtools.plot_sites_fit_grid

pycsamt.emtools.plot_sites_panels

pycsamt.emtools.plot_skew_ellipt_density

pycsamt.emtools.plot_skew_percentile_ribbon

pycsamt.emtools.plot_skew_traffic_psection

pycsamt.emtools.plot_skew_vote_band

pycsamt.emtools.plot_skewness

pycsamt.emtools.plot_snr_hist

Plot the distribution of signal-to-noise ratios across survey data.

pycsamt.emtools.plot_snr_section

Signal-to-noise ratio pseudosection: SNR = |Z| / |Z_err|.

pycsamt.emtools.plot_spectra_matrix

Visualise the full cross-spectral density matrix at one frequency.

pycsamt.emtools.plot_ss_1d_curves

Per-station 1-D apparent-resistivity curves: before and after correction.

pycsamt.emtools.plot_ss_comparison_psection

Two- or three-panel pseudo-section comparison for static-shift correction.

pycsamt.emtools.plot_ss_delta_profile

Plot per-station static-shift correction amplitudes as a bar chart.

pycsamt.emtools.plot_ss_delta_psection

Plot pseudosection of static-shift change (corrected minus original).

pycsamt.emtools.plot_ss_radar

Plot apparent resistivity against period on a polar grid.

pycsamt.emtools.plot_ss_station_curves

Plot before-and-after apparent-resistivity curves for a single station.

pycsamt.emtools.plot_ss_summary

Four-panel summary figure for static-shift correction.

pycsamt.emtools.plot_station_confidence_dashboard

Plot a 2-by-3 confidence dashboard for one station.

pycsamt.emtools.plot_station_confidence_spectrum

Plot confidence components versus period for one station.

pycsamt.emtools.plot_station_response

Full four-component impedance tensor + tipper response for one station.

pycsamt.emtools.plot_station_tensors

Plot tensors for one station: resistivity/phase or Z real/imag.

pycsamt.emtools.plot_strike

Plot strike angles from invariants and phase tensor as rose/polar diagrams.

pycsamt.emtools.plot_strike_analysis

Rose diagram: Strike (Z), PT Azimuth, and, if present, Tipper Strike.

pycsamt.emtools.plot_strike_director_field

Geoelectric-strike director field over station and period.

pycsamt.emtools.plot_strike_mapsticks

pycsamt.emtools.plot_strike_profile

pycsamt.emtools.plot_strike_ribbon

pycsamt.emtools.plot_strike_rose

Publication-quality rose diagram of geoelectric strike direction.

pycsamt.emtools.plot_strike_rose_by_line

pycsamt.emtools.plot_strike_stability_bands

Multi-method strike stability band diagram.

pycsamt.emtools.plot_survey_fingerprint

Compact multi-metric survey fingerprint grid.

pycsamt.emtools.plot_survey_inventory_overview

Plot station inventory counts and the observed period coverage map.

pycsamt.emtools.plot_tensors

Plot tensors for one station (compat wrapper).

pycsamt.emtools.plot_tf_coherence_network

Inter-station transfer-function coherence network map.

pycsamt.emtools.plot_theta_rose_grid

Phase-tensor θ rose grid — one pycsamt-styled rose per frequency decade.

pycsamt.emtools.plot_theta_stability_stripe

pycsamt.emtools.plot_theta_vs_period

pycsamt.emtools.plot_tipper_components

pycsamt.emtools.plot_tipper_from_spectra

Plot the induction tipper magnitude and phase from spectra.

pycsamt.emtools.plot_tipper_hodograms

pycsamt.emtools.plot_tipper_polar

Polar view: tipper azimuth (angle) and magnitude (radius) vs period.

pycsamt.emtools.plot_tipper_polar_from_spectra

Polar tipper from a Spectra object.

pycsamt.emtools.plot_width_drift

Mean relative interval width per frequency band (horizon-drift analogue).

pycsamt.emtools.plot_xyyx_crossover_map

Map XY/YX crossover behaviour across stations and frequencies.

pycsamt.emtools.plot_z_from_spectra

Plot apparent resistivity and phase recovered from spectra.

pycsamt.emtools.plot_z_invariants_section

Four-panel impedance rotation-invariants pseudosection.

pycsamt.emtools.plot_zt_argand

Argand-space trajectory of MT impedance components.

pycsamt.emtools.plot_ztem_band_mask_psection

Plot before/after \(|T|\) pseudosections around the ZTEM usable band.

pycsamt.emtools.plot_ztem_divergence_profile

Plot the ZTEM total-divergence / Peaker flight-line profile.

pycsamt.emtools.plot_ztem_divergence_psection

Plot a ZTEM total-divergence pseudosection (station x log-period).

pycsamt.emtools.plot_ztem_divergence_psection_grid

Compare several flight lines' divergence pseudosections at once.

pycsamt.emtools.plot_ztem_flight_lines

Plot a Sattel and Witherly (2012, Fig.

pycsamt.emtools.plot_ztem_map

Legault et al. (2012, Fig.

pycsamt.emtools.plot_ztem_phase_rotation_profile

Plot raw vs. Hilbert-phase-rotated ZTEM response at one frequency.

pycsamt.emtools.plot_ztem_tipper_profile

Legault et al. (2012, Fig.

pycsamt.emtools.pre2d_inversion_assessment

Summarise dimensionality and strike checks before 2-D inversion.

pycsamt.emtools.project_to_2d

pycsamt.emtools.psd_table

Power spectral density per channel as a tidy DataFrame.

pycsamt.emtools.pseudosection

Draw a period-vs-station pseudosection.

pycsamt.emtools.qc_flags

pycsamt.emtools.recover_low_confidence_frequencies

Recover recoverable frequency rows using trusted neighboring rows.

pycsamt.emtools.regrid_logspace

pycsamt.emtools.regrid_to

pycsamt.emtools.remove_noise_pipeline

pycsamt.emtools.resolve_rose_style

Resolve style to a RoseStyle, then apply overrides.

pycsamt.emtools.rho_coverage

Per-frequency coverage of observed ρ_a within predicted quantile bounds.

pycsamt.emtools.rho_error_stats

Per-frequency relative error between observed and predicted ρ_a.

pycsamt.emtools.rho_frequency_gradient

Vertical (log-frequency) apparent resistivity gradient.

pycsamt.emtools.rho_joint_gradient

Joint vertical-transverse apparent resistivity gradient.

pycsamt.emtools.rho_spatial_gradient

Transverse (along-line) apparent resistivity gradient.

pycsamt.emtools.RoseStyle

Visual style bundle shared by all pycsamt rose diagram functions.

pycsamt.emtools.rotate

pycsamt.emtools.rotate_by_map

pycsamt.emtools.rotate_to_strike

pycsamt.emtools.rotate_z_to_strike

pycsamt.emtools.rpca_offdiag_denoise

pycsamt.emtools.sdas_directivity

2-D horizontal-plane directivity D₀ = 2π U_max / ∫ U(θ) dθ (eq.

pycsamt.emtools.sdas_element_pattern

Far-field element pattern for a single finite-length SDAS (eq.

pycsamt.emtools.select_band

pycsamt.emtools.select_low_skew_band

pycsamt.emtools.shrink_to_group_trend

pycsamt.emtools.sigma_clip_z

pycsamt.emtools.simulate_motion_induced_voltage

Return the simulated motion-induced noise voltage \(V(t)\).

pycsamt.emtools.sites_summary

pycsamt.emtools.skew_table

pycsamt.emtools.smooth_logfreq

pycsamt.emtools.smooth_mavg

pycsamt.emtools.smooth_rho_phase

Smooth apparent resistivity and phase trends, then rebuild Z.

pycsamt.emtools.snr_gain_db

SNR improvement of an N-element PAS relative to a single SDAS [dB].

pycsamt.emtools.snr_table

Signal-to-noise ratio estimated from squared coherence.

pycsamt.emtools.source_overprint_table

Per-station summary of source overprint metrics.

pycsamt.emtools.spatial_median_filter

pycsamt.emtools.spectra_summary

Compact per-frequency summary table.

pycsamt.emtools.ss_comparison_psection

Correct sites for static shift and plot a comparison pseudo-section.

pycsamt.emtools.ss_qc_profile

Estimate correction and plot per-station shift profile.

pycsamt.emtools.ss_qc_psection

Estimate static-shift correction and plot delta pseudosection.

pycsamt.emtools.ss_qc_station_curves

Estimate correction and plot before/after curves for one station.

pycsamt.emtools.station_confidence_table

Return station-level confidence scores for EM transfer functions.

pycsamt.emtools.steering_angles

All main-lobe broadside angles [degrees] for the given PAS configuration.

pycsamt.emtools.strike_curve_sweep

pycsamt.emtools.tensor2d

Build a 2-D matrix (freq × station) from a tensor collection.

pycsamt.emtools.total_divergence_table

Along-profile ZTEM total-divergence / Peaker table.

pycsamt.emtools.trimmed_moving_average

Apply a trimmed EMAP moving average along a profile.

pycsamt.emtools.vertical_resolution

Vertical resolution ΔD between adjacent frequencies per station.

pycsamt.emtools.vertical_resolution_pair

Vertical resolution ΔD between two adjacent frequencies.

pycsamt.emtools.wavenumber

Effective real wavenumber k [m⁻¹] for CSAMT or free-space propagation.

pycsamt.emtools.wrap_phase

Wrap phase values to a target range with a given periodic base.

pycsamt.emtools.ztem_crossover_diagnostics

Legault et al. (2012, Fig.

pycsamt.format.align_pcbh_to_pcsf

Transform PCBH paths into PCSF x/y/depth coordinates.

pycsamt.format.attribute_topo

Match a parsed TopoTable onto station_names.

pycsamt.format.borehole_from_las

Import a LAS 2.0 curve subset while retaining curve metadata.

pycsamt.format.boreholes_from_csv

Import a combined collar-and-interval CSV as a PCBH document.

pycsamt.format.boreholes_from_csv_directory

Import joined collar, survey, log, structure, sample, assay tables.

pycsamt.format.build_multiline_pcsf

Build a multiline PCSFModel from a profiles dict.

pycsamt.format.build_render_model

Build a render model with a short-lived builder.

pycsamt.format.compute_checkpoint_hash

SHA-256 hex digest of a model-checkpoint file, streamed in chunks.

pycsamt.format.DerivedVolume

Optional cached 3-D volume synthesized from stacked lines.

pycsamt.format.describe_source

Return a short multi-line human summary of sk.

pycsamt.format.desurvey

Generate a 3-D centerline for borehole.

pycsamt.format.detect_source

Detect what path is and how it should convert to PCSF/PCSM.

pycsamt.format.embed_pcbh

Return a model copy with a validated portable PCBH attachment.

pycsamt.format.extract_pcbh

Return embedded PCBH data without resolving external resources.

pycsamt.format.Grid2DGeometry

Single-profile rectilinear geometry (Occam2D / DUHI-via-Occam2D).

pycsamt.format.Grid3DGeometry

Native 3-D tensor volume geometry (ModEM).

pycsamt.format.line_offsets_from_stations

Cross-strike offset (m) for each line, from real station lat/lon.

pycsamt.format.LineEntry

One profile within a MultilineGeometry.

pycsamt.format.mesh_to_grid2d

Regrid a mesh_unstructured PCSF model onto a rectilinear grid2d approximation.

pycsamt.format.ModelProvenance

Describe the AI/DL model that produced a resistivity result.

pycsamt.format.multiline_pcsf_to_profiles

Reconstruct a profiles dict from a multiline PCSFModel.

pycsamt.format.MultilineGeometry

A set of profiles plus real line geometry (fence/block views).

pycsamt.format.pcsf_to_pcsm

Convert a .pcsf (HDF5) file to a .pcsm (ASCII) file.

pycsamt.format.pcsf_to_point_cloud

Flatten any PCSFModel geometry into one 3-D point cloud.

pycsamt.format.PCSFModel

Backend-neutral inversion-result container (one PCSF file).

pycsamt.format.pcsm_to_pcsf

Convert a .pcsm (ASCII) file to a .pcsf (HDF5) file.

pycsamt.format.peek_kind

Return a PCSF/PCSM file's geometry.kind without loading any array data -- just the root/geometry attributes for .pcsf, or the GEOMETRY_KIND header line for .pcsm/.pcsm.gz.

pycsamt.format.PointCloud

Flat point cloud ready for a 3-D scatter view.

pycsamt.format.read_pcbh

Read a canonical PCBH JSON file.

pycsamt.format.read_pcsf

Read a PCSFModel back from a .pcsf (HDF5) file.

pycsamt.format.read_pcsf_or_pcsm

Read a PCSFModel from either encoding, by extension.

pycsamt.format.read_pcsm

Read a PCSFModel back from a .pcsm (ASCII) file.

pycsamt.format.read_topo_file

Parse a .bln/.csv/.stn topo file into a TopoTable.

pycsamt.format.reference_pcbh

Return a model copy with an external PCBH reference.

pycsamt.format.resolve_topo

Resolve any accepted topo= argument into a TopoAttribution against station_names.

pycsamt.format.SourceKind

Outcome of detect_source().

pycsamt.format.stack_lines_to_common_grid

Resample every line onto the first line's own (x, z) grid.

pycsamt.format.StationTable

Survey station positions, shared across geometry kinds.

pycsamt.format.topo_from_sites

Extract lon/lat/elevation from an already-geo-located Sites/MapData/iterable-of-station-record object.

pycsamt.format.TopoAttribution

Per-station real coordinates resolved from a topo source, ready to populate lon/lat (and merge into elevation).

pycsamt.format.topography_from_elevation_file

Build topography from an uploaded elevation file.

pycsamt.format.topography_from_grid

Build a gridded-DEM TopographyRaster.

pycsamt.format.topography_from_map_data

Build topography from a MapData's own station elevations (typically real, EDI-derived values).

pycsamt.format.topography_raster_to_grid

Return (x, y, elevation), the inverse of topography_from_grid().

pycsamt.format.topography_to_elev_map

Return {station_id: elevation}, the inverse of both builders.

pycsamt.format.TopographyPerStation

Scalar-per-station topography (matches the existing convention in pycsamt.map.topo).

pycsamt.format.TopographyRaster

Gridded-DEM topography — a regular elevation surface independent of any station table.

pycsamt.format.TopoTable

A parsed topo source, before it is matched to any station names.

pycsamt.format.UnstructuredMeshGeometry

Native unstructured triangular mesh geometry (MARE2DEM).

pycsamt.format.write_csv_directory

Export supported PCBH content as a relational CSV directory.

pycsamt.format.write_geojson

Write WGS84 collar Points and trajectory LineStrings as GeoJSON.

pycsamt.format.write_gltf

Write browser-ready glTF 2.0 (.gltf) or binary GLB tubes.

pycsamt.format.write_las_subset

Write inline PCBH curves, or an interval-derived LAS subset.

pycsamt.format.write_pcbh

Atomically write a canonical PCBH JSON file.

pycsamt.format.write_pcsf

Write a PCSFModel to a .pcsf (HDF5) file.

pycsamt.format.write_pcsm

Write a PCSFModel to a .pcsm (ASCII) file.

pycsamt.format.write_vtp

Write interval tubes as ASCII VTK XML PolyData (.vtp).

pycsamt.forward.add_gaussian_noise

Convenience wrapper: add Gaussian noise at a given relative level.

pycsamt.forward.add_noise

Apply a named or pre-built noise model to a forward response.

pycsamt.forward.CSAMT1DForward

1-D controlled-source AMT forward solver.

pycsamt.forward.FieldRealisticNoise

Frequency-dependent noise model for MT/CSAMT training data.

pycsamt.forward.ForwardConfig

Collect settings that define a 1-D forward modelling / dataset run.

pycsamt.forward.ForwardConfig2D

Collect settings for a 2-D MT finite-difference forward run.

pycsamt.forward.ForwardConfig3D

Collect settings for a quasi-3D MT forward modelling run.

pycsamt.forward.ForwardDataset

Numpy container for a batch of (features, targets) EM samples.

pycsamt.forward.ForwardResponse

Container for the output of a 1-D forward solver.

pycsamt.forward.ForwardResponse2D

Output of the 2-D MT forward solver.

pycsamt.forward.ForwardResponse3D

Full (approximate) impedance tensor from the 3-D MT forward solver.

pycsamt.forward.GaussianNoise

Add relative Gaussian noise to an EM forward response.

pycsamt.forward.generate_dataset

Generate a batch of synthetic (data, model) pairs for ML training.

pycsamt.forward.generate_dataset_3d

Generate a pseudo-3D synthetic dataset for GCNInverter3D training.

pycsamt.forward.Grid2D

Non-uniform 2-D finite-difference grid for MT forward modelling.

pycsamt.forward.Grid3D

Non-uniform 3-D finite-difference grid for MT forward modelling.

pycsamt.forward.LayeredModel

1-D layered earth model.

pycsamt.forward.make_padding

Return cell widths for one padding strip.

pycsamt.forward.maxwell.AdapterPolicy

Configure solver-independent result acceptance rules.

pycsamt.forward.maxwell.BackendCapabilities

Declare a Maxwell adapter's supported physical and numerical scope.

pycsamt.forward.maxwell.BackendRegistration

Store one lazy backend factory and its availability probe.

pycsamt.forward.maxwell.BackendRegistry

Thread-safe registry of lazy Maxwell backend factories.

pycsamt.forward.maxwell.BaseExternalMaxwellAdapter

Base class for adapters that run a trusted external solver process.

pycsamt.forward.maxwell.BaseMaxwellAdapter

Base class enforcing common preflight and postflight validation.

pycsamt.forward.maxwell.BatchPolicy

Configure retries and concurrency for solve_batch().

pycsamt.forward.maxwell.BatchReport

Summarize one solve_batch() run.

pycsamt.forward.maxwell.BenchmarkMetrics

Store errors measured against one analytic reference.

pycsamt.forward.maxwell.BenchmarkOutcome

Record the auditable outcome of one backend benchmark.

pycsamt.forward.maxwell.BenchmarkReport

Aggregate ordered outcomes from one backend benchmark run.

pycsamt.forward.maxwell.BenchmarkThresholds

Define quantitative acceptance limits for one benchmark.

pycsamt.forward.maxwell.build_graded_tri_mesh

Build a real, graded, quality FEM mesh via Shewchuk's Triangle.

pycsamt.forward.maxwell.build_solver_mesh

Build a padded Maxwell mesh from a geological cell-centre model.

pycsamt.forward.maxwell.CacheEntry

Describe one complete cache entry.

pycsamt.forward.maxwell.CacheStatistics

Summarize the current on-disk cache state.

pycsamt.forward.maxwell.CallableMaxwellAdapter

Adapt a trusted callable to the validated Maxwell backend interface.

pycsamt.forward.maxwell.CompatibilityReport

Describe whether a backend can solve a particular problem.

pycsamt.forward.maxwell.create_backend

Create a registered Maxwell adapter lazily.

pycsamt.forward.maxwell.ExternalRunPolicy

Configure how an external solver executable is located and run.

pycsamt.forward.maxwell.ExternalRunResult

Record one external-process execution attempt.

pycsamt.forward.maxwell.FailureManifest

Ordered, JSON-persistable record of every terminal batch failure.

pycsamt.forward.maxwell.ForwardResult

Store canonical impedance predictions from a Maxwell backend.

pycsamt.forward.maxwell.half_space_benchmark

Build a uniform-earth analytic benchmark.

pycsamt.forward.maxwell.half_space_impedance

Return analytic plane-wave impedance of a uniform half-space.

pycsamt.forward.maxwell.layered_earth_benchmark

Build a laterally uniform layered-earth benchmark.

pycsamt.forward.maxwell.layered_earth_impedance

Return analytic 1-D MT impedance by upward layer recursion.

pycsamt.forward.maxwell.list_backends

Describe registered Maxwell backends without creating them.

pycsamt.forward.maxwell.make_availability_probe

Build a zero-argument availability probe for backend registration.

pycsamt.forward.maxwell.Mare2DEMAdapter

Adapter wrapping the external MARE2DEM 2.5-D triangular-mesh solver.

pycsamt.forward.maxwell.MaxwellBackend

Runtime-checkable interface implemented by Maxwell adapters.

pycsamt.forward.maxwell.MaxwellBenchmark

Define one immutable problem and its expected impedance.

pycsamt.forward.maxwell.MaxwellMesh

Describe a rectilinear finite-volume or finite-element mesh.

pycsamt.forward.maxwell.MaxwellProblem

Define one isotropic frequency-domain MT boundary-value problem.

pycsamt.forward.maxwell.MaxwellResultCache

Manage a validated, content-addressed result cache.

pycsamt.forward.maxwell.MeshDesign

Configure geometric padding, air treatment, and quality targets.

pycsamt.forward.maxwell.MeshQuality

Summarize numerical mesh quality and skin-depth resolution.

pycsamt.forward.maxwell.ModEm3DAdapter

Adapter wrapping the external ModEM 3-D forward solver.

pycsamt.forward.maxwell.MT2DAdapter

Validated 2-D MT adapter over the in-repo finite-difference solver.

pycsamt.forward.maxwell.MT3DAdapter

Research-only 3-D MT adapter (see module docstring for scope).

pycsamt.forward.maxwell.probe_executable_version

Best-effort external solver version string for provenance.

pycsamt.forward.maxwell.ProblemFailure

Record one problem's terminal solve failure.

pycsamt.forward.maxwell.ReceiverSet

Define named receiver locations in mesh coordinates.

pycsamt.forward.maxwell.register_backend

Register a lazy backend in the process-wide registry.

pycsamt.forward.maxwell.register_mare2dem_backend

Register Mare2DEMAdapter in the process-wide registry.

pycsamt.forward.maxwell.register_modem3d_backend

Register ModEm3DAdapter in the process-wide registry.

pycsamt.forward.maxwell.register_mt2d_backend

Register MT2DAdapter in the process-wide backend registry.

pycsamt.forward.maxwell.register_trifem2d_backend

Register TriFEM2DAdapter in the process-wide backend registry.

pycsamt.forward.maxwell.resolve_executable

Resolve an external solver executable to a concrete file path.

pycsamt.forward.maxwell.run_benchmarks

Run an ordered benchmark collection with one backend version.

pycsamt.forward.maxwell.skin_depth_m

Calculate electromagnetic skin depth for a non-magnetic conductor.

pycsamt.forward.maxwell.solve_batch

Solve many problems robustly, with retries and a failure manifest.

pycsamt.forward.maxwell.SolverDiagnostics

Record convergence information for every frequency and source solve.

pycsamt.forward.maxwell.SolverMeshModel

Store a padded mesh, conductivity, regions, and construction record.

pycsamt.forward.maxwell.TriFEM2DAdapter

In-house 2-D triangular-mesh MT FEM adapter (research-only).

pycsamt.forward.maxwell.TriMesh

Describe an unstructured 2-D triangular finite-element mesh.

pycsamt.forward.maxwell.TriProblem

Define one isotropic frequency-domain MT problem on a triangular mesh.

pycsamt.forward.maxwell.unregister_backend

Remove a backend from the process-wide registry.

pycsamt.forward.MT1DForward

1-D magnetotelluric forward solver (plane-wave, isotropic earth).

pycsamt.forward.MT2DForward

2-D magnetotelluric finite-difference forward solver.

pycsamt.forward.MT3DForward

Quasi-3D magnetotelluric forward solver.

pycsamt.forward.MultiplicativeNoise

Log-space (multiplicative) Gaussian noise.

pycsamt.forward.plot_model_1d

Plot one or more 1-D layered earth models as resistivity-depth profiles.

pycsamt.forward.plot_model_2d

Plot the 2-D resistivity model on a colour map.

pycsamt.forward.plot_model_3d

Three orthogonal slice panels for a 3-D resistivity model.

pycsamt.forward.plot_pseudosection_2d

Plot a 2-D MT pseudo-section (period × station distance).

pycsamt.forward.plot_response_1d

Plot 1-D MT/CSAMT apparent resistivity and phase vs period (or frequency).

pycsamt.forward.plot_response_and_model_1d

3-panel figure combining model depth profile, ρ_a, and phase.

pycsamt.forward.plot_response_map_3d

Map-view scatter of ρ_a or phase at one frequency.

pycsamt.forward.plot_response_profiles

Plot ρ_a (or phase) vs station distance at selected frequencies.

pycsamt.forward.plot_response_section_3d

Period × station pseudo-section for one 3-D response component.

pycsamt.forward.plot_tensor_components_3d

2 × 2 map panel showing all four impedance tensor components.

pycsamt.forward.SurveyDataset3D

Numpy container for a pseudo-3D multi-station survey dataset.

pycsamt.forward.TEM1DForward

1-D central-loop TEM forward solver (step-off waveform).

pycsamt.geology.Borehole

Borehole / well log with depth-interval data.

pycsamt.geology.borehole.Borehole

Borehole / well log with depth-interval data.

pycsamt.geology.borehole.Interval

A single depth interval in a borehole log.

pycsamt.geology.FaultTrace

Where a fault crosses the 2-D profile.

pycsamt.geology.Interval

A single depth interval in a borehole log.

pycsamt.geology.Layer

One geological unit in a pseudo-stratigraphic log.

pycsamt.geology.LinearMeasurement

A linear structural field measurement.

pycsamt.geology.lithology.Layer

One geological unit in a pseudo-stratigraphic log.

pycsamt.geology.lithology.RockDatabase

Extensible rock physics database for EM resistivity interpretation.

pycsamt.geology.lithology.RockEntry

A single entry in the rock physics database.

pycsamt.geology.lithology.StratigraphicLog

Per-station pseudo-stratigraphic depth profile.

pycsamt.geology.RockDatabase

Extensible rock physics database for EM resistivity interpretation.

pycsamt.geology.RockEntry

A single entry in the rock physics database.

pycsamt.geology.StratigraphicLog

Per-station pseudo-stratigraphic depth profile.

pycsamt.geology.StructuralMeasurement

A planar structural field measurement.

pycsamt.geology.StructuralModel

Collection of structural evidence along one survey profile.

pycsamt.interp.AquiferZone

Contiguous aquifer-favourable interval at one station/profile column.

pycsamt.interp.assert_compatible_grids

Raise ValueError if surveys have incompatible grids.

pycsamt.interp.ConstrainedCalibrator

Calibrate petrophysical parameters to match hydrogeological field data.

pycsamt.interp.ECConstraint

Electrical conductivity of formation water (e.g., from an EC log or sample).

pycsamt.interp.EMHydroModel

Quantitative hydrogeological model from an EM resistivity section.

pycsamt.interp.EMHydroResult

Quantitative hydrogeological output of one EM resistivity section.

pycsamt.interp.FusionDiagnostics

Metadata about a completed fusion operation.

pycsamt.interp.HydroGeophysicalModel

Hydrogeological interpretation product for one resistivity model.

pycsamt.interp.HydroInterpreter

Rule-based hydrogeophysical interpreter for EM resistivity sections.

pycsamt.interp.HydroUnit

One classified hydrogeophysical cell.

pycsamt.interp.ModelCalibrator

Constrain a 2-D EM resistivity model with borehole TRES values.

pycsamt.interp.MonteCarloHydro

Monte Carlo uncertainty propagation for a quantitative EM hydro model.

pycsamt.interp.MultiMethodEMModel

Fuse two EM resistivity models onto a single depth grid.

pycsamt.interp.PetrophysicalConfig

All petrophysical and hydraulic parameters needed by EMHydroModel.

pycsamt.interp.PumpingTestConstraint

Transmissivity (and optionally storativity) from a pumping test.

pycsamt.interp.ResistivityModel

Unified 2-D resistivity model container.

pycsamt.interp.SlugTestConstraint

Hydraulic conductivity K from a slug test or bail test.

pycsamt.interp.TimeLapseEM

Time-lapse EM analysis for hydrogeological change detection.

pycsamt.interp.UncertaintyBounds

Prior distribution specification for Monte Carlo sampling.

pycsamt.interp.UncertaintyResult

Ensemble statistics from a MonteCarloHydro run.

pycsamt.interp.WaterLevelConstraint

Piezometer or well water-level measurement.

pycsamt.inversion.available_backends

Return registered backend names.

pycsamt.inversion.build_1d_tensor_mesh

Build a 1-D TensorMesh-like object and positive-downward centres.

pycsamt.inversion.build_3d_tensor_mesh

Build a 3-D TensorMesh-like object around station coordinates.

pycsamt.inversion.build_fd2d_grid

Build the finite-difference 2-D grid used by built-in inversion.

pycsamt.inversion.component_errors

Return errors for one data component using config settings.

pycsamt.inversion.component_mask

Return a boolean mask for one component using config mask settings.

pycsamt.inversion.core_rho_from_start

Expand a layered starting model into a 2-D core resistivity grid.

pycsamt.inversion.depth_widths

Return geometrically growing positive depth cell widths.

pycsamt.inversion.EMData

Normalized EM observation container.

pycsamt.inversion.error_model_from_config

Build an ErrorModel from inversion config options.

pycsamt.inversion.ErrorModel

Component-aware data-error settings for inversion backends.

pycsamt.inversion.get_backend

Return the backend class for name using lazy imports.

pycsamt.inversion.InversionConfig

Source-of-truth configuration for pycsamt.inversion.

pycsamt.inversion.InversionHistory

Common convergence-history container.

pycsamt.inversion.InversionMesh

Lightweight mesh/grid descriptor.

pycsamt.inversion.InversionResult

Backend-neutral post-inversion result.

pycsamt.inversion.InversionUncertainty

Backend-neutral uncertainty and sensitivity diagnostics.

pycsamt.inversion.InversionWorkflow

Execute a configured EM inversion backend.

pycsamt.inversion.model.StartingModel

Starting or recovered layered-earth model.

pycsamt.inversion.MT1DInversion

Built-in 1-D MT inversion workflow.

pycsamt.inversion.MT2DInversion

Built-in stitched 2-D MT inversion workflow.

pycsamt.inversion.MT3DInversion

ModEM 3-D MT inversion workflow.

pycsamt.inversion.pygimli_lambda

Return the pyGIMLi lambda value using shared option names.

pycsamt.inversion.Regularization

Backend-neutral regularization settings.

pycsamt.inversion.regularization_from_config

Build backend-neutral controls from a config object.

pycsamt.inversion.regularization_residual

Return unweighted residual terms for smooth/damped/blocky penalties.

pycsamt.inversion.regularization_weight

Return the scalar penalty weight for least-squares backends.

pycsamt.inversion.run_inversion

Run an inversion in one call.

pycsamt.inversion.SimPEGMT3DInversion

SimPEG 3-D MT inversion workflow.

pycsamt.inversion.StartingModel

Starting or recovered layered-earth model.

pycsamt.io.Config

Container of un‐modifiable I/O settings and lookup tables.

pycsamt.io.detect_model_format

Detect the canonical inversion-model format from source content.

pycsamt.io.detect_tf_format

Detect the canonical transfer-function format from source content.

pycsamt.io.get_model_format

Return a registered format by canonical name or alias.

pycsamt.io.get_model_format_for_target

Resolve a writable format from a target filename extension.

pycsamt.io.get_tf_format

Return a registered format by canonical name or alias.

pycsamt.io.get_tf_format_for_target

Resolve a writable format from a target filename extension.

pycsamt.io.list_model_formats

Return stable public information about registered formats.

pycsamt.io.list_tf_formats

Return stable public information about registered formats.

pycsamt.io.ModelFormat

Definition of one registered inversion-model serialization.

pycsamt.io.read_any

Read a table‐like file into a pandas object using the Config parser map.

pycsamt.io.read_tf

Read a supported electromagnetic transfer-function source.

pycsamt.io.read_transfer_function

Read a supported electromagnetic transfer-function source.

pycsamt.io.register_model_format

Register one inversion-model reader definition.

pycsamt.io.register_tf_format

Register one transfer-function reader definition.

pycsamt.io.TransferFunctionFormat

Definition of one registered transfer-function serialization.

pycsamt.io.write_any

Write a pandas‐like object to disk using Config writers.

pycsamt.io.write_tf

Write a transfer-function object through a registered serializer.

pycsamt.io.write_transfer_function

Write a transfer-function object through a registered serializer.

pycsamt.iot.AcquisitionManifest

Reproducible manifest describing one IoT acquisition session.

pycsamt.iot.AcquisitionPayload

Metadata describing one raw acquisition record/window.

pycsamt.iot.amt_edge_report

Run the core AMT edge diagnostics on one channel and collate them.

pycsamt.iot.amt_edge_table

Flatten one or more amt_edge_report() results into a table.

pycsamt.iot.assess_impedance_stability

Assess the stability of per-window impedance estimates.

pycsamt.iot.assess_source_stability

Assess transmitter current (and optional voltage) steadiness.

pycsamt.iot.assess_sync_quality

Grade synchronisation from offset, drift, jitter, and GPS lock.

pycsamt.iot.assess_telemetry

Convenience wrapper around TelemetryMonitor.

pycsamt.iot.AuthScheme

Supported authentication schemes.

pycsamt.iot.BaseTelemetryClient

Common behaviour for telemetry transports.

pycsamt.iot.batch_assess_sync

Assess many devices at once and return a status table.

pycsamt.iot.build_acquisition_manifest

Assemble an AcquisitionManifest from session components.

pycsamt.iot.build_edifile

Assemble an in-memory EDIFile from an impedance tensor.

pycsamt.iot.build_telemetry_client

Construct a telemetry client for protocol.

pycsamt.iot.check_channel_saturation

Detect ADC clipping / saturation in a channel.

pycsamt.iot.check_contact_resistance

Proxy assessment of electrode contact quality.

pycsamt.iot.classify_field_zones

Classify each frequency as near, transition, or far field.

pycsamt.iot.ClockSynchronizer

Evaluate device clock status against a reference.

pycsamt.iot.compute_live_spectra

Return {"frequency_hz": ..., "psd": ...} for live display.

pycsamt.iot.Credential

Authentication credential with secret redaction.

pycsamt.iot.csamt_edge_report

Run the core CSAMT edge diagnostics on one channel and collate them.

pycsamt.iot.csamt_edge_table

Flatten one or more csamt_edge_report() results into a table.

pycsamt.iot.csem_edge_report

Run the CSEM offset-domain diagnostics for one frequency.

pycsamt.iot.csem_edge_table

Flatten one or more csem_edge_report() results into a table.

pycsamt.iot.deployment_from_edis

Seed a DeploymentConfig from an EDI survey.

pycsamt.iot.deployment_report

Return one row per device describing declared IoT capabilities.

pycsamt.iot.DeploymentConfig

Survey-level IoT deployment metadata.

pycsamt.iot.detect_gps_dropout

Summarise GPS-lock dropouts across a sample sequence.

pycsamt.iot.detect_powerline_harmonics

Detect mains-frequency harmonics in a time series.

pycsamt.iot.detect_sensor_dropout

Detect NaN gaps and stuck-value (flatline) runs in a channel.

pycsamt.iot.detect_transmitter_frequencies

Check that recorded energy is present at each transmitted frequency.

pycsamt.iot.DeviceConfig

Configuration for one field IoT node or recorder gateway.

pycsamt.iot.DevicePowerProfile

Named power profile for a field node or recorder.

pycsamt.iot.DeviceRole

Role of an IoT device in a field deployment.

pycsamt.iot.edge_summary_table

Return one row per channel from edge-processing results.

pycsamt.iot.EdgeChannelSummary

Quality-control summary for one edge data channel.

pycsamt.iot.EdgeDecision

Acceptance state assigned by edge-side quality control.

pycsamt.iot.EdgeProcessingConfig

Configuration for lightweight field-side processing.

pycsamt.iot.EdgeProcessingResult

Summary returned by EdgeProcessor.

pycsamt.iot.EdgeProcessor

Small edge-processing block for telemetry payload reduction.

pycsamt.iot.edi_survey_table

Return an EDI-survey summary as a pyCSAMT table.

pycsamt.iot.EMMethod

Electromagnetic survey methods recognised by IoT monitoring.

pycsamt.iot.emtools_qc

Route IoT-acquired impedance through pycsamt.emtools QC.

pycsamt.iot.EnergyConfig

Power-budget inputs for a field IoT device.

pycsamt.iot.EnergyEstimate

Estimated runtime and power draw.

pycsamt.iot.estimate_channel_snr

Estimate channel SNR in decibels.

pycsamt.iot.estimate_clock_drift_ppm

Estimate clock drift in parts-per-million.

pycsamt.iot.estimate_clock_jitter_ms

Estimate timing jitter as the std of drift-corrected offsets (ms).

pycsamt.iot.estimate_clock_offset_ms

Estimate median local-reference clock offset in milliseconds.

pycsamt.iot.estimate_deployment_energy

Estimate and tabulate energy budgets for multiple devices.

pycsamt.iot.estimate_energy_budget

Estimate runtime from battery, duty cycle, and optional solar input.

pycsamt.iot.estimate_frequency_coverage

Estimate the resolvable frequency band of a recording.

pycsamt.iot.estimate_static_shift

Flag a static shift between the two apparent-resistivity modes.

pycsamt.iot.EventPayload

Discrete field event (state change, alarm, operator note).

pycsamt.iot.EventSeverity

Severity levels for event telemetry.

pycsamt.iot.export_acquisition_manifest

Build an acquisition manifest and write it to path.

pycsamt.iot.export_reproducibility_bundle

Write a manifest and per-station audits into out_dir.

pycsamt.iot.export_station_audit

Write a single-station provenance audit to path (JSON).

pycsamt.iot.field_session_from_edis

Seed a FieldSession from an EDI survey.

pycsamt.iot.field_session_to_edifiles

Build per-station EDIs from a session plus impedance estimates.

pycsamt.iot.field_vs_offset

Build a magnitude/phase-versus-offset curve and QC it.

pycsamt.iot.FieldSession

Stateful container for one IoT-enabled field acquisition session.

pycsamt.iot.FieldZone

Wave-propagation regime of a CSAMT measurement at one frequency.

pycsamt.iot.FieldZoneCoverage

Result of classify_field_zones().

pycsamt.iot.FileTelemetryClient

Append/replay telemetry packets to a JSON-lines file.

pycsamt.iot.FrequencyCoverage

Result of estimate_frequency_coverage().

pycsamt.iot.HarmonicPeak

Contamination measured at one powerline harmonic.

pycsamt.iot.hash_bytes

Return the hex digest of data using algo.

pycsamt.iot.hash_chain

Return a tamper-evident hash chain over entries.

pycsamt.iot.hash_mapping

Return a stable hash of mapping (key-sorted JSON, UTF-8).

pycsamt.iot.hash_raw_file

Hash a raw acquisition file and return its integrity record.

pycsamt.iot.HealthPayload

Device-health telemetry (battery, temperature, link quality).

pycsamt.iot.HTTPTelemetryClient

POST telemetry packets to an HTTP(S) endpoint.

pycsamt.iot.impedance_to_z

Build a Z from edge impedance estimates.

pycsamt.iot.ImpedanceStability

Result of assess_impedance_stability().

pycsamt.iot.IoTCapability

IoT capability flags used in deployment reports.

pycsamt.iot.IoTProtocol

Supported telemetry protocol identifiers.

pycsamt.iot.log_qc_decision

Return a normalised QC-decision record for the audit trail.

pycsamt.iot.method_profile

Return the MethodProfile for method.

pycsamt.iot.MethodProfile

Canonical acquisition characteristics for one EM method.

pycsamt.iot.monitoring_status_table

Return monitoring statuses as a pyCSAMT table.

pycsamt.iot.MonitoringConfig

Thresholds used to monitor AMT/MT/CSAMT telemetry streams.

pycsamt.iot.MonitoringLevel

Overall status level for a monitored telemetry stream.

pycsamt.iot.MonitoringStatus

Status returned by TelemetryMonitor.

pycsamt.iot.MQTTTelemetryClient

Publish/subscribe telemetry over MQTT.

pycsamt.iot.OffsetResponse

Result of field_vs_offset() -- one MVO/PVO curve.

pycsamt.iot.packet_table

Return telemetry packets as a pyCSAMT table.

pycsamt.iot.PacketKind

Telemetry packet categories used by pyCSAMT IoT workflows.

pycsamt.iot.parse_payload

Parse payload into the schema registered for kind.

pycsamt.iot.plot_edge_qc_summary

Plot edge quality-control decisions and channel metrics.

pycsamt.iot.plot_field_dashboard

Plot a compact IoT acquisition dashboard.

pycsamt.iot.plot_power_budget

Plot IoT energy budget, runtime, and power-state summaries.

pycsamt.iot.plot_sync_quality

Plot clock offset, drift, jitter, GPS lock, and quality grades.

pycsamt.iot.power_summary_table

Return energy estimates as a pyCSAMT table.

pycsamt.iot.PowerlineHarmonics

Result of detect_powerline_harmonics().

pycsamt.iot.PowerPayload

Energy-budget telemetry for a field node.

pycsamt.iot.PowerState

Energy status for an IoT field device.

pycsamt.iot.ProvenanceRecord

Per-station occupation provenance for one field session.

pycsamt.iot.QCPayload

Edge quality-control telemetry for one acquisition window.

pycsamt.iot.read_edi_survey

Read an EDI survey into per-station summary records.

pycsamt.iot.redact_secret

Return a redaction placeholder when value is a non-empty secret.

pycsamt.iot.schema_for

Return the payload schema registered for kind.

pycsamt.iot.SecurityConfig

Combined TLS + credential policy for telemetry transports.

pycsamt.iot.SerialTelemetryClient

Send/receive telemetry over a serial port.

pycsamt.iot.sign_mapping

Return an HMAC signature over the canonical JSON of mapping.

pycsamt.iot.simulate_amt_channel

Simulate one AMT channel: band-limited signal + noise + artefacts.

pycsamt.iot.simulate_amt_station

Simulate a full AMT station: config, channel data, and packets.

pycsamt.iot.simulate_battery_decay

Simulate a monotonic-ish battery discharge curve with noise.

pycsamt.iot.simulate_gps_drift

Simulate paired reference/local clocks with drift, jitter, dropout.

pycsamt.iot.simulate_iot_network

Simulate a network of AMT stations across one or more profiles.

pycsamt.iot.simulate_packet_loss

Return packets with a fraction randomly dropped.

pycsamt.iot.simulate_powerline_noise

Return a powerline-noise time series (fundamental + harmonics).

pycsamt.iot.skin_depth_m

Electromagnetic skin depth in metres.

pycsamt.iot.SourceLine

Detection result for one expected transmitter frequency.

pycsamt.iot.SourcePayload

Transmitter telemetry for a controlled-source (CSAMT/TDEM) survey.

pycsamt.iot.SourceStability

Result of assess_source_stability().

pycsamt.iot.StaticShift

Result of estimate_static_shift().

pycsamt.iot.station_table

Return one row per station describing its acquisition metadata.

pycsamt.iot.StationConfig

Geospatial and acquisition metadata for one field station.

pycsamt.iot.StoreAndForwardClient

Wrap a telemetry client with a persistent offline send buffer.

pycsamt.iot.sync_status_table

Return one row per device from sync-status objects.

pycsamt.iot.SyncConfig

Clock-synchronisation tolerances.

pycsamt.iot.SyncPayload

Clock-synchronisation telemetry for a field node.

pycsamt.iot.SyncQuality

Overall synchronisation grade for a device.

pycsamt.iot.SyncStatus

Clock-synchronisation status for one device.

pycsamt.iot.target_bands_for_method

Return per-decade sub-bands spanning a method's frequency band.

pycsamt.iot.telemetry_summary

Summarise telemetry packet counts by device and topic.

pycsamt.iot.TelemetryAck

Acknowledgement returned by a telemetry client.

pycsamt.iot.TelemetryClient

Generic recorder used for dry-run simulation and unmapped protocols.

pycsamt.iot.TelemetryMonitor

Monitor field telemetry from AMT, MT, CSAMT, and related surveys.

pycsamt.iot.TelemetryPacket

A timestamped message emitted by an IoT-enabled field node.

pycsamt.iot.TelemetryPayload

Base class for canonical telemetry payloads.

pycsamt.iot.TLSConfig

Transport-layer security material for a telemetry client.

pycsamt.iot.TransmitterComb

Result of detect_transmitter_frequencies().

pycsamt.iot.validate_payload

Return a canonicalised payload dictionary for kind.

pycsamt.iot.verify_hash_chain

Return whether a hash_chain() sequence is intact and in order.

pycsamt.iot.verify_manifest

Verify a signed manifest produced by AcquisitionManifest.sign().

pycsamt.iot.verify_signature

Return whether signature is a valid HMAC of mapping under key.

pycsamt.iot.WebSocketTelemetryClient

Send/receive telemetry over a WebSocket connection.

pycsamt.iot.z_to_edi

Write an impedance tensor to a .edi file and return its path.

pycsamt.iot.z_to_site

Return an EDI-backed Site for z.

pycsamt.jones.Banner

Parse and serialize the top provenance comment line.

pycsamt.jones.Head

Parse and serialize a single J-format head triple.

pycsamt.jones.HeadMixin

Mixin that provides a Head on host classes.

pycsamt.jones.Heads

Minimal container for one Head and one Info.

pycsamt.jones.Info

Parse and serialize the J-format information block.

pycsamt.jones.InfoMixin

Mixin that provides an Info on host classes.

pycsamt.jones.is_j_file

Convenience wrapper around IsJ._assert_j().

pycsamt.jones.IsJ

Abstract base for A.G.

pycsamt.jones.iter_lines

Yield lines from a path, file‑like, or a sequence of strings.

pycsamt.jones.JBlock

Abstract base for J-format data blocks.

pycsamt.jones.JBlocks

Container for a sequence of parsed J data blocks.

pycsamt.jones.JCBBase

Minimal stateful base for collections of J files.

pycsamt.jones.JCollection

High-level collection of Jones J-format files.

pycsamt.jones.JCollectionMixin

Mixin that provides folder/glob expansion and robust parsing orchestration for Jones J-format collections.

pycsamt.jones.JComponentMixin

Lightweight facade to manage Jones (J-format) components on a host object.

pycsamt.jones.JCoreParser

Core scanner for J files that extracts light metadata.

pycsamt.jones.JFile

High-level J dispatcher for MT/SEG archives.

pycsamt.jones.JIOMixin

Tolerant BLOCK parser and TF/R/Tipper builder.

pycsamt.jones.JMixin

Lightweight helpers shared by J-format readers.

pycsamt.jones.JParseMixin

Lightweight helpers for scanning Jones J-format text.

pycsamt.jones.JSiteProperty

Container for site properties parsed from J-format info.

pycsamt.jones.parse_datatype_units

Parse a data‑type line like ZXY SI or RTE.

pycsamt.jones.RBlock

Resistivity/phase (R/S) block implementation.

pycsamt.jones.RRow

One parsed resistivity/phase row of a J R/S block.

pycsamt.jones.TFBlock

Transfer-function (Z/Q/C/T) block implementation.

pycsamt.jones.TFRow

One parsed transfer-function row of a J Z/Q/C/T block.

pycsamt.map.apply_elevations

Return a copy of data with station elevations overridden.

pycsamt.map.basemap_style_and_layers

Resolve a style name into a (base style, raster layers) pair.

pycsamt.map.BasemapConfig

Plotly geographic map layout settings.

pycsamt.map.build_3d_map

Build the concrete 3-D figure.

pycsamt.map.build_basemap_layout

Return layout settings for geographic station maps.

pycsamt.map.build_contour_overlay

Build an interpolated map contour overlay.

pycsamt.map.build_geo_contour_image

Render a Surfer-style filled-contour PNG for a basemap image layer.

pycsamt.map.build_profile_line_overlay

Build a reusable profile-line overlay trace.

pycsamt.map.build_profile_map

Build the concrete profile-view figure.

pycsamt.map.build_pseudosection

Build the concrete pseudosection figure.

pycsamt.map.build_station_label_overlay

Build a reusable station-label overlay trace.

pycsamt.map.build_station_map

Build a Plotly 2-D station map.

pycsamt.map.build_topography_overlay

Build a Plotly 3-D terrain mesh or surface.

pycsamt.map.component_spec

Return a parsed impedance component specification.

pycsamt.map.ComponentSpec

Parsed impedance component request.

pycsamt.map.CRSConfig

Coordinate transform settings.

pycsamt.map.ensure_map_data

Return normalized map data.

pycsamt.map.export_elevations

Export station id/elevation/coordinates to CSV or HDF5.

pycsamt.map.export_figure

Export fig according to options.

pycsamt.map.ExportOptions

Options used by figure export helpers.

pycsamt.map.fetch_elevations

Fetch station elevations online from their coordinates.

pycsamt.map.figure_to_dict

Return a serializable figure dictionary.

pycsamt.map.FrequencySelection

Nearest-frequency selection metadata.

pycsamt.map.FrequencyValue

Station value and selected-frequency metadata.

pycsamt.map.group_modem_stations

Group ModEM station names into survey lines.

pycsamt.map.interpolate_overlay_grid

Interpolate scattered values to a regular grid.

pycsamt.map.inversion_depth_range

(z_min, z_max) across every precomputed inversion section, or None when the survey carries no inversion result.

pycsamt.map.launch_app

Launch the interactive map-view app.

pycsamt.map.launch_mapview

Alias for launch_app().

pycsamt.map.load_lines

Build one combined MapData from multiple lines.

pycsamt.map.load_modem_lines

Load a ModEM 3-D inversion result folder as a multi-line MapData.

pycsamt.map.Map3D

Builder object for 3-D survey maps.

pycsamt.map.MapData

Normalized survey data shared by map renderers.

pycsamt.map.MapView

A code-first session bound to one (multi-line) survey.

pycsamt.map.normalize_component

Return the canonical map component name.

pycsamt.map.normalize_epsg

Return an EPSG authority string.

pycsamt.map.normalize_station_id

Loosely-normalized station id for fuzzy matching.

pycsamt.map.open_app

Backward-compatible alias for launch_app().

pycsamt.map.parse_elevation_file

Parse an uploaded elevation file into {station_id: elev}.

pycsamt.map.plot_3d_map

Build a 3-D map.

pycsamt.map.plot_profile_map

Build a profile-view map.

pycsamt.map.plot_pseudosection

Build a resistivity or phase pseudosection.

pycsamt.map.plot_station_map

Build a 2-D station map.

pycsamt.map.plot_volume_map

Build a 3-D volume map.

pycsamt.map.ProfileLine

A named sequence of stations in one profile.

pycsamt.map.ProfileMap

Builder object for profile maps.

pycsamt.map.ProfileMapOptions

Options for pseudosection and profile-view maps.

pycsamt.map.reproject_xy_to_lonlat

Reproject x, y from epsg to WGS84 lon/lat.

pycsamt.map.resistivity_at_depth

Per-station resistivity on a horizontal slice at depth (m below the surface), read from the precomputed inversion sections in data.metadata["sections"].

pycsamt.map.resolve_crs_info

Return a human-readable CRS description.

pycsamt.map.resolve_line_groups

Return a {line_name: source} mapping for source.

pycsamt.map.save_png

Save a Matplotlib-like or Plotly-like figure as PNG.

pycsamt.map.select_frequency

Select the closest finite positive frequency.

pycsamt.map.StationMap

Builder object for station-map figures.

pycsamt.map.StationMapOptions

Options for 2-D station maps.

pycsamt.map.StationRecord

A normalized station row used by map renderers.

pycsamt.map.transform_xy

Transform coordinates between two CRS definitions.

pycsamt.map.value_at_frequency_details

Return values with selected-frequency metadata.

pycsamt.map.volume.Map3D

Builder object for 3-D survey maps.

pycsamt.map.VolumeMapOptions

Options for 3-D fence, block, and depth-slice maps.

pycsamt.map.write_dict

Write a figure dictionary as JSON text.

pycsamt.map.write_html

Write a Plotly-like figure to HTML.

pycsamt.map.write_image

Write a Plotly-like image.

pycsamt.map.write_json

Write a Plotly-like figure specification as JSON.

pycsamt.metadata.assess_collection

Compute DataQuality for every site in sites.

pycsamt.metadata.band_for_frequency

Return all bands in the registry that contain f Hz.

pycsamt.metadata.BBox

Geographic bounding box in decimal degrees (WGS-84 default).

pycsamt.metadata.ChannelMeta

Describe one electric, magnetic, or auxiliary EM channel.

pycsamt.metadata.ComponentQuality

Quality metrics for a single impedance component.

pycsamt.metadata.CopyrightInfo

Copyright and usage conditions.

pycsamt.metadata.DataQuality

Data-quality summary for a single MT station.

pycsamt.metadata.doi_estimate

Return the skin-depth DOI estimate in metres at frequency f.

pycsamt.metadata.Formation

A named geological scenario for layered-Earth modelling.

pycsamt.metadata.frequency_range

Return (f_min, f_max) for a named method or band.

pycsamt.metadata.FrequencyBand

Specification of an EM geophysical frequency band.

pycsamt.metadata.geology_prior

Return a GEOLOGY_PRIORS-compatible dict for name.

pycsamt.metadata.GeologyCatalog

Registry of geological formations for layered-Earth modelling.

pycsamt.metadata.InstrumentMeta

Structured descriptor for an EM acquisition system.

pycsamt.metadata.known_system

Shortcut for InstrumentMeta.from_preset().

pycsamt.metadata.list_presets

Return sorted list of available preset keys.

pycsamt.metadata.LocationMeta

Geographic location and optional magnetic declination metadata.

pycsamt.metadata.normalize_sign_convention

Normalize common Fourier sign-convention spellings.

pycsamt.metadata.OrientationMeta

Describe the coordinate orientation of transfer-function data.

pycsamt.metadata.Person

Person contact information.

pycsamt.metadata.ProcessingMeta

Processing assumptions and software associated with an EMTF product.

pycsamt.metadata.ProvenanceMeta

Describe creation and stewardship of a scientific data product.

pycsamt.metadata.quality_dataframe

Return a pandas.DataFrame with one quality row per station.

pycsamt.metadata.QualityComment

Free-text transfer-function quality comment with optional author.

pycsamt.metadata.QualityFlag

Data-quality classification for one component or a whole station.

pycsamt.metadata.Reference

Bibliographic reference information.

pycsamt.metadata.register_band

Add or replace a FrequencyBand in the global registry.

pycsamt.metadata.RemoteReferenceMeta

Describe remote-reference processing when it was used.

pycsamt.metadata.RockProperties

Access and query geological rock metadata:

pycsamt.metadata.SensorSpec

Specification for a single sensor (magnetic or electric).

pycsamt.metadata.SiteLayout

Original physical input/output channel geometry at a site.

pycsamt.metadata.SiteMeta

Site identity, acquisition interval, and geographic location.

pycsamt.metadata.Software

Software metadata.

pycsamt.metadata.SurveyMeta

Campaign-level descriptor for an MT/AMT/CSAMT/TEM survey.

pycsamt.metadata.TransferFunctionQuality

Archival quality assessment attached to an EM transfer function.

pycsamt.pipeline.categories

Return a sorted list of distinct step categories.

pycsamt.pipeline.configure_pipe

Configure the global PYCSAMT_PIPE singleton.

pycsamt.pipeline.discover_plugins

Load every pycsamt.pipeline.steps entry point and run it.

pycsamt.pipeline.fingerprint_sites

Deterministic content hash of a Sites-like collection.

pycsamt.pipeline.get_preset

Return the Preset for name.

pycsamt.pipeline.get_preset_for_method

Return the method-aware Preset for an explicit EM method.

pycsamt.pipeline.get_stratagem_preset

Return the StratagemPreset for name.

pycsamt.pipeline.list_presets

Return all available Preset objects.

pycsamt.pipeline.list_steps

Return all registered StepSpec objects, optionally filtered.

pycsamt.pipeline.list_stratagem_presets

Return all StratagemPreset objects.

pycsamt.pipeline.load_history

Read back previously logged run summaries, oldest first.

pycsamt.pipeline.load_json

Parse a JSON pipeline config file and return the raw dict.

pycsamt.pipeline.load_py

Import a Python config file and return its pipeline_config dict.

pycsamt.pipeline.load_yaml

Parse a YAML pipeline config file and return the raw dict.

pycsamt.pipeline.lookup_step

Return the StepSpec for code_or_name.

pycsamt.pipeline.Pipeline

An ordered, configurable MT processing pipeline.

pycsamt.pipeline.PipelineBase

Base class for pyCSAMT pipeline objects.

pycsamt.pipeline.PipelineResult

Return value of Pipeline.run().

pycsamt.pipeline.plot_pipeline_dashboard

Create a compact dashboard for a completed pipeline run.

pycsamt.pipeline.plot_pipeline_status

Plot per-step success status for a pipeline run.

pycsamt.pipeline.plot_pipeline_timing

Plot elapsed time per pipeline step.

pycsamt.pipeline.plot_site_count_flow

Plot station counts entering and leaving each pipeline step.

pycsamt.pipeline.PluginLoadResult

Outcome of loading one pycsamt.pipeline.steps entry point.

pycsamt.pipeline.Preset

A named, ordered collection of pipeline steps.

pycsamt.pipeline.preset_catalogue

Return a formatted catalogue of all presets.

pycsamt.pipeline.register_ai_steps

Register the opt-in AI step(s) into the pipeline step registry.

pycsamt.pipeline.register_step

Register a third-party StepSpec into the pipeline registry.

pycsamt.pipeline.reset_pipe

Reset PYCSAMT_PIPE to package defaults.

pycsamt.pipeline.run_stratagem_preset

Execute a named Stratagem preset in one call (convenience wrapper).

pycsamt.pipeline.Step

A configured pipeline step.

pycsamt.pipeline.step_codes

Return a sorted list of all step codes.

pycsamt.pipeline.step_names

Return a sorted list of all step names.

pycsamt.pipeline.StepCache

Sharded, content-addressed disk cache for pipeline step outputs.

pycsamt.pipeline.StepResult

Immutable record produced after one pipeline step runs.

pycsamt.pipeline.StepSpec

Immutable descriptor for one pipeline step.

pycsamt.pipeline.stratagem_preset_catalogue

Return a formatted catalogue of all Stratagem presets.

pycsamt.pipeline.StratagemPipeline

A Pipeline extended with Stratagem pre/post-processing.

pycsamt.pipeline.StratagemPreset

Named configuration bundle for StratagemSurvey.

pycsamt.pipeline.unregister_step

Remove a previously-registered step from the pipeline registry.

pycsamt.seg.build_dataset

Build a multi-site xarray Dataset from an iterable of EDIFile.

pycsamt.seg.EDIAcc

An xarray accessor for convenient interaction with EDI datasets.

pycsamt.seg.EDIFile

High–level EDI dispatcher for SEG/EMAP/CSAMT archives.

pycsamt.seg.EDIMixin

Lightweight registry and helpers used by EDI readers.

pycsamt.seg.EDIOMixin

Tolerant >BLOCK parser and TF (Z/Tipper) builder.

pycsamt.seg.EDIProfile

Profile helper for one or many EDIFile objects.

pycsamt.seg.IsEdi

Abstract base for SEG-EDI validation helpers.

pycsamt.seg.OtherIO

Reader/writer for generic >BLOCK data under OTHERSECT.

pycsamt.seg.OtherSECT

Header container for >=OTHERSECT blocks.

pycsamt.seg.Spectra

Container for >SPECTRA blocks grouped per frequency.

pycsamt.seg.SpectraIO

Read and write >SPECTRA data blocks.

pycsamt.seg.SpectraSECT

Minimal container for the >=SPECTRASECT header.

pycsamt.seg.Stations

Lightweight table view for station metadata derived from EDIFile objects.

pycsamt.seg.SurveyBase

pycsamt.seg.TimeSeries

Container for >TSERIES data aggregated by channel.

pycsamt.seg.Topography

Elevation profile helper.

pycsamt.seg.TSect

Minimal container for the >=TSERIESSECT header block.

pycsamt.seg.TSIO

Reader and writer for >TSERIES data blocks.

pycsamt.seg.XAMixin

A mixin that adds convenient xarray exports to collection classes.

pycsamt.session.Normalize

Normalize heterogeneous EM sources into a common form.

pycsamt.session.normalize_session

Create and return a Normalize with common defaults.

pycsamt.session.Session

Context-managed capture of key transformation outputs.

pycsamt.session.work_session

Create and return a Session with common defaults.

pycsamt.site.by_bbox

Select sites that fall inside an axis-aligned geographic box.

pycsamt.site.by_chainage

Select sites whose stored chainage falls within a closed interval.

pycsamt.site.by_freq

Select sites that contain at least one data row with frequency inside a closed interval.

pycsamt.site.by_index

Select sites by zero-based numeric indices, supporting negative indices.

pycsamt.site.by_names

Select sites by matching station names against one or more patterns.

pycsamt.site.by_predicate

Select sites using a user-supplied predicate function.

pycsamt.site.drop_empty

Drop sites that are effectively empty.

pycsamt.site.EDIRecomputer

Recompute and rewrite EDI files using pyCSAMT conventions.

pycsamt.site.EDIRecomputeRecord

Per-station outcome for an EDI recomputation workflow.

pycsamt.site.EDIRecomputeResult

Result returned by EDIRecomputer.

pycsamt.site.fill_missing

Replace missing or non-finite values in Z and/or tipper arrays with zeros or NaNs.

pycsamt.site.keep_finite_z

Keep sites that contain at least one finite impedance value.

pycsamt.site.mask_large_phase_err

Filter out sites whose maximum phase-error exceeds a threshold.

pycsamt.site.MetadataChange

Describe the metadata changes attempted for one station.

pycsamt.site.pack_zip

Pack a set of sites into a zip archive using a filename template.

pycsamt.site.phase_slope

Estimate phase slopes within a frequency band.

pycsamt.site.recompute_edi

Recompute one EDI object.

pycsamt.site.recompute_edis

Convenience function for EDIRecomputer.

pycsamt.site.recompute_res_phase

Recompute apparent resistivity and phase from the impedance tensor Z for a single site.

pycsamt.site.rename

Rename a station using an explicit name or a policy function.

pycsamt.site.rename_all

Batch rename a collection of sites.

pycsamt.site.rename_sites

Rename stations from a mapping, aligned sequence, or callable.

pycsamt.site.res_at_freq

Evaluate apparent resistivity at a target frequency.

pycsamt.site.rotate

Rotate impedance tensor Z (and tipper T, if present) by an azimuthal angle in degrees.

pycsamt.site.rotate_all

Rotate every site in a collection by an azimuthal angle in degrees.

pycsamt.site.select_freq

Subset the dataset along frequency by range or explicit indices, keeping all affected arrays aligned.

pycsamt.site.select_freq_all

Subset all sites in a collection along frequency, keeping arrays aligned.

pycsamt.site.set_coords

Set geographic coordinates on the EDI header.

pycsamt.site.set_coords_all

Batch set coordinates for a collection of sites.

pycsamt.site.set_coords_from_en

Project (easting, northing) to lon/lat and set a site's coords.

pycsamt.site.set_coords_from_table

Set site coordinates for many EDI files from a table.

pycsamt.site.Site

High-level wrapper for a single MT/CSAMT site backed by an EDIFile.

pycsamt.site.SiteMetadataEditor

Apply declarative, validated, and auditable EDI metadata changes.

pycsamt.site.SiteMixin

Lightweight wrapper exposing station-centric accessors and utilities for a single EDIFile.

pycsamt.site.SiteReport

Statistics and display for a single Site.

pycsamt.site.Sites

Container for multiple Site objects with convenient indexing, selection, and bulk edit operations.

pycsamt.site.SitesReport

Statistics and display for a Sites collection.

pycsamt.site.strike_estimate

Estimate a strike angle from impedance tensors.

pycsamt.site.tipper_magnitude

Summarize or tabulate tipper magnitudes.

pycsamt.site.to_edis

Unwrap site-like inputs to raw EDI objects.

pycsamt.site.update_metadata

Update metadata for one site or EDI-like object.

pycsamt.site.update_metadata_all

Apply metadata specifications to a station collection.

pycsamt.site.write_site

Write a single site (EDI) to a target path.

pycsamt.site.write_sites

Write a collection of sites to a directory using a filename template.

pycsamt.stratagem.CoordinateInjector

Inject GPS coordinates into WinGLink EDI files.

pycsamt.stratagem.EDIBatch

Load a directory of WinGLink-exported EDI files as EDIFile objects.

pycsamt.stratagem.EDIRenamer

Rename Stratagem EDI files with a standardised naming convention.

pycsamt.stratagem.EDIWriter

Write in-memory EDIFile objects to disk with optional HEAD overrides.

pycsamt.stratagem.FrequencyFilter

Remove bad frequency bins from Stratagem AMT data.

pycsamt.stratagem.NoiseRemover

Multi-stage noise-removal pipeline for Stratagem AMT data.

pycsamt.stratagem.QualityController

Station-level quality-control report for Stratagem AMT surveys.

pycsamt.stratagem.StaticShiftCorrector

Estimate and remove static-shift from Stratagem AMT impedance data.

pycsamt.stratagem.StationLocator

Resolve the mapping between EDI acquisition order and GPS table rows.

pycsamt.stratagem.StratagemRawReader

Parse raw Stratagem hardware files (19-column ASCII) for QC diagnostics.

pycsamt.stratagem.StratagemSurvey

End-to-end Stratagem AMT survey processing pipeline.

pycsamt.tdem.CustomWaveform

User-defined waveform supplied as paired time/current arrays.

pycsamt.tdem.FourierTransform

Rigorous TDEM → MT impedance via numerical Fourier cosine transform and Kramers-Kronig reconstruction (Meju 1996; Christensen 1990).

pycsamt.tdem.HalfSineWaveform

Half-sine transmitter current (used by some CSEM / airborne systems).

pycsamt.tdem.is_tem_log_file

Return True when path looks like a TEMAVG log.

pycsamt.tdem.is_tem_z_file

Return True when path looks like a TEMAVG .Z file.

pycsamt.tdem.is_temavg_file

Return True when path looks like a TEMAVG file.

pycsamt.tdem.LateTimeTransform

Convert TEM soundings to frequency-domain apparent impedance using the late-time apparent-resistivity approximation.

pycsamt.tdem.plot_decay

Plot TEM decay curves.

pycsamt.tdem.plot_elevation_profile

Plot station elevation along TEM survey profiles.

pycsamt.tdem.plot_gate_profile

Plot selected TEMAVG gate profiles.

pycsamt.tdem.plot_survey_map

Plot station coordinates from a TEM survey.

pycsamt.tdem.plot_survey_overview

Plot a TEM survey map with an elevation-profile panel.

pycsamt.tdem.plot_tem_dashboard

Plot a compact TDEM dashboard.

pycsamt.tdem.plot_tem_z_section

Plot a TEMAVG .Z pseudo-section.

pycsamt.tdem.plot_temavg_section

Plot a TEMAVG pseudo-section.

pycsamt.tdem.plot_transformed_rho

Plot transformed apparent resistivity and phase.

pycsamt.tdem.PlotDecayCurve

Plot one or more TEM decay curves on log-log axes.

pycsamt.tdem.PlotElevationProfile

Plot TEM station elevation along one or more survey profiles.

pycsamt.tdem.PlotGateProfile

Plot selected TEMAVG windows as profiles along stations.

pycsamt.tdem.PlotSurveyMap

Plot TEM station coordinates from a survey or coordinate table.

pycsamt.tdem.PlotSurveyOverview

Plot a TEM survey map with a matched elevation profile panel.

pycsamt.tdem.PlotTEMAVGSection

Plot a TEMAVG pseudo-section from station-gate records.

pycsamt.tdem.PlotTEMDashboard

Create a compact multi-panel TDEM real-data dashboard.

pycsamt.tdem.PlotTEMZSection

Plot a ZPLOT .Z pseudo-section.

pycsamt.tdem.PlotTransformedRho

Plot transformed apparent resistivity and optional phase.

pycsamt.tdem.RampWaveform

Transmitter current with a finite linear ramp on switch-off.

pycsamt.tdem.read_tem_coordinates

Read a TEM profile/point coordinate table.

pycsamt.tdem.read_temavg_soundings

Read a TEMAVG folder and return station soundings.

pycsamt.tdem.read_temavg_survey

Read a directory of Zonge TEMAVG processed files.

pycsamt.tdem.SquareWaveform

Ideal square-wave transmitter current (zero ramp time).

pycsamt.tdem.StationTickConfig

Station-axis tick configuration for TDEM plots.

pycsamt.tdem.TDEMPlotStyle

Shared style values for TDEM figures.

pycsamt.tdem.TEMAVG

Processed content of one Zonge TEMAVG .AVG file.

pycsamt.tdem.TEMAVGConversion

Result bundle returned by TEMAVG workflow helpers.

pycsamt.tdem.TEMAVGRecord

One processed TEMAVG gate value.

pycsamt.tdem.TEMCoordinate

Coordinate metadata for one TEM station point.

pycsamt.tdem.TEMCoordinateTable

Collection of TEM station coordinates.

pycsamt.tdem.TEMLog

Parsed TEMAVG processing log.

pycsamt.tdem.TEMLogRecord

One acquisition-summary row from a TEMAVG log.

pycsamt.tdem.TEMReader

Unified TEM file reader with format auto-detection.

pycsamt.tdem.TEMSounding

Container for a single time-domain EM (TEM) sounding.

pycsamt.tdem.TEMSurvey

Collection of processed TEM files from one survey folder.

pycsamt.tdem.TEMtoEDI

Convert one or more TEM soundings to a EDICollection.

pycsamt.tdem.TEMZPlot

Parsed content of one TEMAVG contour .Z file.

pycsamt.tdem.TEMZRecord

One row from a TEMAVG contour .Z file.

pycsamt.tdem.transform_temavg_survey

Run a complete TEMAVG-to-frequency workflow.

pycsamt.topo.add_station_labels

Draw rotated station name labels above marker positions.

pycsamt.topo.build_topo_section

Resolve a model + topography source into a terrain-draped section.

pycsamt.topo.config.TopoConfig

Package-wide topography rendering policy for 2-D section plots.

pycsamt.topo.configure_topo

Configure the global PYCSAMT_TOPO singleton.

pycsamt.topo.drape_section

Transform a flat depth section into terrain-following coordinates.

pycsamt.topo.draw_topo_section

Overlay terrain on a depth-section axes (terrain-following frame).

pycsamt.topo.draw_topo_strip

Add an elevation-profile strip above a pseudosection image axes.

pycsamt.topo.extract_chainage

Compute along-profile cumulative distance (km) for each station.

pycsamt.topo.extract_elevation

Extract per-station elevation (m a.s.l.) from a Sites or EDI collection.

pycsamt.topo.extract_station_names

Return station name / ID strings in collection order.

pycsamt.topo.has_elevation

Return True if any station carries a meaningful non-zero elevation.

pycsamt.topo.interp_elev

Interpolate station elevations to arbitrary profile positions.

pycsamt.topo.mask_above_topo

Set data cells that lie above the terrain surface to NaN.

pycsamt.topo.plot_topo_array

Drape an arbitrary 2-D scalar field over real topography.

pycsamt.topo.plot_topo_section

Plot a resistivity model or inversion result draped over topography.

pycsamt.topo.reset_topo

Reset PYCSAMT_TOPO to package defaults.

pycsamt.topo.station_surface_z

Return the terrain-draped z-coordinate for station marker positions.

pycsamt.topo.synthetic_elevation_profile

Return a smooth, deterministic elevation profile, metres.

pycsamt.topo.TopoConfig

Package-wide topography rendering policy for 2-D section plots.

pycsamt.topo.TopoSection

Resolved, terrain-embedded 2-D resistivity section.

pycsamt.transformers.AVGtoEDI

Convert a Zonge AVG source to an EDICollection.

pycsamt.transformers.jedi.AVGtoEDI

Convert a Zonge AVG source to an EDICollection.

pycsamt.transformers.jedi.JtoEDI

Convert a Jones J source to EDI or an EDI collection.

pycsamt.transformers.JtoEDI

Convert a Jones J source to EDI or an EDI collection.

pycsamt.transformers.SpectraToEDI

Transform SEG spectra-EDI files to MT-impedance EDI files.

pycsamt.transformers.TransformerMixin

Template utilities for AVG/J -> EDI transformations.

pycsamt.transformers.TransformResult

Outcome of a batch spectra→impedance conversion.

pycsamt.transformers.TStoEDI

Transform raw MT field time series to impedance EDI files.

pycsamt.z.ResPhase

Resistivity/phase container backed by complex Z.

pycsamt.z.Z

High-level impedance tensor container built on ResPhase.

pycsamt.zonge.ama

Apply an Adaptive Moving Average (AMA) filter.

pycsamt.zonge.Amps

Transmitter current amplitude container (unit: A).

pycsamt.zonge.AMTAVG

Extends AVG with tensor components and analytical methods.

pycsamt.zonge.ASTATIC

A class for advanced processing of Zonge AVG data.

pycsamt.zonge.AVG

High-level façade for a Zonge AVG/AMTAVG dataset.

pycsamt.zonge.AVGComponentBase

Abstract base class for a single AVG data component.

pycsamt.zonge.AVGFrame

A container for a tidy AVG table and its metadata.

pycsamt.zonge.AvgRow

A structured, format-agnostic representation of a single row.

pycsamt.zonge.BaseAVG

Base class for AVG data handling and file writing.

pycsamt.zonge.CompMeas

Enumeration/validator for classical CSAMT component labels.

pycsamt.zonge.DataInfo

High-level aggregator for a complete Zonge AVG dataset.

pycsamt.zonge.FieldAliases

Dynamically provides all known aliases for canonical names.

pycsamt.zonge.flma

Apply a Fixed-Length Moving Average (FLMA) filter.

pycsamt.zonge.Frequency

Frequency axis manager (Hz) for AVG tables.

pycsamt.zonge.get_aliases

Fetch all known aliases for a canonical column name.

pycsamt.zonge.get_reference_frequency

Determine a suitable reference frequency for static shift.

pycsamt.zonge.get_skew

Calculate Swift's skew for the impedance tensor.

pycsamt.zonge.get_strike

Calculate the geoelectric strike angle.

pycsamt.zonge.Hardware

Minimal provenance captured from banner / comment lines.

pycsamt.zonge.interpolate_to_log_space

Interpolate AVG data onto a regular log-spaced grid.

pycsamt.zonge.load_avg

Read a Zonge AVG file and return a tidy DataFrame and metadata.

pycsamt.zonge.Phase

Impedance phase (\(\varphi\)) per component.

pycsamt.zonge.Receiver

Receiver electrode / coil metadata ($Rx.*).

pycsamt.zonge.Resistivity

Apparent resistivity (\(\rho_a\)) per component.

pycsamt.zonge.SkipFlag

Encapsulate Zonge skip-flag quality codes.

pycsamt.zonge.smooth_rho_from_phase

Smooth apparent resistivity using the Hilbert transform.

pycsamt.zonge.Station

One-dimensional survey-line geometry container.

pycsamt.zonge.SurveyAnnotation

Project-level annotation block ($Job.*).

pycsamt.zonge.SurveyConfiguration

Survey-level configuration taken from AVG headers.

pycsamt.zonge.TensorBase

Adds impedance-like tensor helpers to a component.

pycsamt.zonge.Tipper

Geomagnetic transfer function (Tipper) component.

pycsamt.zonge.tma

Apply a Trimmed Moving Average (TMA) filter.

pycsamt.zonge.Transmitter

Transmitter loop / bipole metadata ($Tx.*).

pycsamt.zonge.write_avg

Serialize a DataFrame to a Zonge kind-2 AVG file.

pycsamt.zonge.Zonge

A foundational base class for Zonge data objects.