pycsamt.pipeline._presets#

Named pipeline presets for common MT processing workflows.

Each preset is a Preset object that pairs a description with an ordered list of Step instances. Users can load a preset via from_preset() and then add, remove, or override steps as needed.

Available presets#

"basic_qc"

Minimal denoising + frequency cleanup. Good for a first-pass inspection.

"noise_reduction"

Stacked noise-removal chain for high-EMI environments.

"full_processing"

Standard end-to-end workflow: noise → frequency → skew gate → SS → strike.

"tensor_analysis"

Tensor-only cleanup (rotation, antisymmetry, sigma-clip, balance).

"dimensionality_filter"

Classify, mask, and project to 2-D.

"publication_ready"

Full chain suitable for Computers & Geosciences quality output.

"stratagem_mt"

emtools-level preset for Stratagem AMT data already loaded as Sites. Static-shift → AMT band select → powerline notch → Hampel → QC. Use pycsamt.pipeline.stratagem when you also need coordinate injection and renaming from raw EDI + CSV inputs.

Functions

get_preset(name)

Return the Preset for name.

list_presets()

Return all available Preset objects.

preset_catalogue()

Return a formatted catalogue of all presets.

Classes

Preset(name, description[, steps])

A named, ordered collection of pipeline steps.

class pycsamt.pipeline._presets.Preset(name, description, steps=<factory>)[source]#

Bases: object

A named, ordered collection of pipeline steps.

Variables:
  • name (str) – Identifier used in from_preset().

  • description (str) – One-line description shown when the user prints the preset catalogue.

  • steps (list[tuple[str, pycsamt.pipeline._steps.Step]]) – Ordered list of (label, Step) tuples — same format as a Pipeline step list.

Parameters:
name: str#
description: str#
steps: list[tuple[str, Step]]#
pycsamt.pipeline._presets.get_preset(name)[source]#

Return the Preset for name.

Raises:

KeyError – When name is not registered.

Parameters:

name (str)

Return type:

Preset

pycsamt.pipeline._presets.list_presets()[source]#

Return all available Preset objects.

Return type:

list[Preset]

pycsamt.pipeline._presets.preset_catalogue()[source]#

Return a formatted catalogue of all presets.

Return type:

str