Imaging (Gradient Descent)

Image reconstruction by VMLMB with differentiable regularizers.

FunctionDescription
reconstruct(x0_4d, data, ft)Image reconstruction: monochromatic, polychromatic or time series
reconstruct(x0_2d, data, ft)Monochromatic, with a 2-D image and one OIdata
OITOOLS.reconstruct — Method
reconstruct(x_start::AbstractArray{T,4}, data::AbstractMatrix{<:OIdata},
            ft::AbstractMatrix; ...)

Image reconstruction by VMLMB, monochromatic, polychromatic or time series.

x_start is the initial image of shape (nx, nx, nwav, nepoch). data is a Matrix{OIdata} of size (nwav, nepoch) (from readoifits or readoifits_multiepochs). ft is the matching Matrix of FT plans from setup_ft.

The criterion minimised is (χ² + regularization) / ndof. The flux-normalisation chain-rule correction is applied to the combined (χ² + regularization) gradient per cell.

Keywords

  • weights = [1.0, 1.0, 1.0]: relative weights for (V², T3amp, T3phi)
  • regularizers = []: per-cell regularizers — a list of ["name", μ, ...] tuples applied identically to every (wavelength, epoch) cell
  • transspectral_regularizers = []: cross-wavelength regularizers (per epoch), e.g. [["transspectral_tv", 0.1]]
  • temporal_regularizers = []: cross-epoch regularizers, e.g. [["temporal_tvsq", 0.01]]
  • epochs_weights = []: per-epoch scaling (default: uniform)
  • use_diffphases = false: force differential-phase fitting
  • verb = false: verbose output
  • maxiter = 100: maximum VMLMB iterations
  • ftol = (0, 1e-8), xtol = (0, 1e-8), gtol = (0, 1e-8): VMLMB tolerances
source
OITOOLS.reconstruct — Method
reconstruct(x_start::AbstractMatrix, data::OIdata, ft; ...)

Monochromatic form of the 4-D method, which lists the keywords.

source