demregpy (demregpy)#

demregpy Package#

demregpy

Functions#

dem_inv_gsvd(A, B)

Perform the generalised singular value decomposition of A and B.

dem_pix(dnin, ednin, rmatrix, logt, dlogt, glc)

Recover a DEM for one observation vector.

dem_reg_map(sigmaa, sigmab, U, W, data, err, ...)

Select the regularization parameter from a GSVD solution.

dem_unwrap(dn, ed, rmatrix, logt, dlogt, glc)

Run dem_pix() over a stack of observations in serial.

demmap(dd, ed, rmatrix, logt, dlogt, glc[, ...])

Recover DEMs for a stack of one-dimensional observations.

dn2dem(dn_in, edn_in, tresp, tresp_logt, temps)

Recover a differential emission measure from channel counts.

load_aia_response([response_file])

Load an AIA temperature response file into the matrix form used by dn2dem.

Plotting (demregpy.plotting)#

demregpy.plotting Module#

Plotting helpers for demregpy.

Functions#

plot_dem(logt, dem, *[, elogt, edem, ax, ...])

Plot a one-dimensional DEM with optional horizontal and vertical error bars.

plot_loci_curves(logt, dn_in, tresp, *[, ...])

Plot filter loci curves for a single observation vector.

Synthetic Data (demregpy.synthetic)#

demregpy.synthetic Module#

Utilities for building synthetic DEM observations from response matrices.

Functions#

synthesize_counts(dem, logt, tresp, *[, ...])

Fold a DEM through a temperature response matrix and build synthetic counts.

Classes#

SyntheticObservation(dem, dn_clean, dn_in, ...)

Synthetic observation returned by synthesize_counts().