pmokeDOCS

Overview

Reproducible pulsed-field MOKE acquisition, phase-aware lock-in analysis, and Kerr-angle extraction in one Rust CLI.

pmoke coordinates instrument trigger, waveform capture, phase-aware lock-in processing, and Kerr-angle extraction for reproducible pulsed-field MOKE measurements.

This is pulsed-field MOKE: the magnetic-field pulse is the measurement event. It is not a time-resolved pump/probe MOKE (TRMOKE) implementation.

Pipeline

  1. Trigger acquisition and capture oscilloscope channels with metadata.
  2. Fit the recorded function-generator sine wave sent to the Sagnac EOM.
  3. Integrate sensor channels.
  4. Demodulate signals with the configured boxcar_legacy lock-in filter.
  5. Correct the phase and extract the Kerr angle.

Here, reference means the oscilloscope recording of the function-generator sine wave that drives the electro-optic modulator (EOM) in the zero-area Sagnac interferometer. Its fitted frequency and phase define the references used for numerical lock-in analysis.

Design priorities

  • Reproducible config.toml inputs
  • Explicit hardware transport diagnostics
  • Bounded, testable analysis stages
  • A keyboard-driven terminal monitor

Continue with the quickstart, or inspect the generated CLI reference.

On this page