Glossary and notation#
A quick map between the symbols used in the theory pages and the names used in the code.
Notation#
Symbol |
Meaning |
In the code |
|---|---|---|
\(\tilde E(\omega)\) |
complex pulse spectrum (the unknown) |
|
\(E(t)\) |
complex temporal field |
|
\(\Omega\) (often \(\omega\) in the API) |
centred frequency offset (rad/s) |
|
\(\omega_{\rm abs}=\omega_0+\Omega\) |
absolute optical angular frequency (rad/s) |
|
\(\omega_0\) |
carrier angular frequency |
|
\(t\) |
time (s) |
|
\(\tau\) |
delay (s) |
|
\(s(E,G)\) |
instantaneous nonlinear signal |
|
\(\psi(\omega,\tau)\) |
frequency-domain signal for one delay |
|
\(T(\omega,\tau)\) |
trace intensity \(\lvert\psi\rvert^2\) |
|
\(\mu\) |
optimal intensity scale factor |
|
\(w_\omega\) |
per-frequency weights |
|
\(r\) |
weighted residual sum of squares |
|
\(R\) |
normalised trace error (“FROG error”) |
|
\(\beta(\omega)\) |
slab propagation constant |
|
\(\bar v = \partial L/\partial v^*\) |
Wirtinger cotangent |
|
\(z_q, w_q\) |
depth quadrature nodes/weights |
|
R vs G
The peak-normalised rms trace error
\(R=\sqrt{r/(MN\,\max(T_\text{meas}w)^2)}\) is written \(G\) (the “G-error”)
in much of the FROG literature and \(R\) throughout croak. They are the same
quantity (croak.metrics.compute_R(), result.error); with weights, croak
uses the weighted residual and the peak of the weighted measured trace.
Terms#
- croak
Complete Retrieval by Optimisation and Adjoint Kernels — the package for retrieving a complex pulse from a model of its FROG measurement.
- PNPS
Parameterised Nonlinear-Process Spectra — the family of self-referenced measurements (FROG, TDP, d-scan, …) unified by the trace model. The scanned parameter is the delay \(\tau\) in FROG.
- FROG
Frequency-Resolved Optical Gating — a delay-scanned nonlinear spectrogram; the canonical PNPS technique.
- Interaction / geometry
the nonlinear process defining the signal \(s(E,G)\) — SHG, SD or PG in croak. See Interactions.
- TG-FROG
Transient-Grating FROG; for identical coincident gate replicas in the local model, its signal reduces to the PG kernel, so croak retrieves it with
interaction="pg".- Test / gate field
the undelayed field \(E\) and the delayed field \(G(t)=E(t-\tau)\) entering an interaction.
- Trace error \(R\)
the normalised, dimensionless residual between measured and fitted traces. Interpret it relative to noise, weights, preprocessing and the model. A small value does not by itself establish field accuracy.
- Thin medium
the classic FROG approximation of an infinitely thin, dispersionless nonlinear medium — the special case of the dispersive model with \(\beta=0\) and zero thickness.
- Dispersive slab / D-COPRA
retrieval that models propagation inside a finite, dispersive medium; “D-COPRA” is
COPRAwith amaterialset.- Wirtinger cotangent
\(\bar v \equiv \partial L/\partial v^*\), the conjugate derivative that gradient descent on a real loss of a complex variable requires. See Gradients.
- Phase-only retrieval
fixing the spectral amplitude (to a measured spectrum) and retrieving only the phase (
phase_only=True).R_omegaper-frequency intensity scaling — the scale factor \(\mu\) becomes a vector \(\mu_\omega\). See Regularisation.
- B-spline phase basis
representing the spectral phase by the control points of a cubic B-spline over the spectrum support (
phase_basis="bspline",n_nodesnodes) instead of one value per frequency bin — a low-dimensional, intrinsically smooth parameterisation. See Regularisation andcroak._jax_pulse.make_spline_phase_basis().- CMA-ES / evolution strategy
Covariance-Matrix-Adaptation Evolution Strategy — a derivative-free, population-based global optimiser (
CMAES,algorithm="cma-es", via the optional evosax backend) used to escape poor local minima. See global retrieval.- Temporal regularisation
a penalty (
reg_time, with atime_windowin seconds) on the fraction of pulse energy falling outside a time window, suppressing satellites and pedestals during retrieval. See Regularisation.- Chirped mirror
a multilayer mirror that imparts a designed, wavelength-dependent group delay per reflection. Registered into
croak.dispersion.MIRRORSand applied by number of bounces; see Materials and chirped mirrors.- Field reference
the plane and spatial definition of the reported complex field. Source, transverse-integrated beamlet, effective and on-axis entrance fields can have different amplitudes and temporal profiles. See conventions.
- \(p\), \(\delta\)
the two timing coordinates of the spatial (smearing) model: the gate-pair separation and the probe-to-gate-centroid offset (
croak.smearing). For PG the two gate replicas arrive at \(\tau-\delta\mp p/2\) in the probe frame; for SD, \(p\) separates the two unconjugated replicas and \(\delta\) offsets the conjugated arm (see the forward model).- \(p_f\)
the exponent of a declared spectral field conversion \(\widetilde E_{p_f}=(\omega_{\rm abs}/\omega_0)^{p_f}\widetilde E_{\rm int}\), referenced to the carrier \(\omega_0\). It labels a field convention, not a detector-response correction.
- Detector response
wavelength-dependent conversion from optical signal to recorded counts. Distinguish it from the nonlinear source factor and the coordinate Jacobian used to convert a density per wavelength to one per frequency.