scarlet2.measure

scarlet2.measure#

Measurement methods

Classes

Moments(component[, N, center, weight])

Base Moments class

Functions

binomial(n, k)

Binomial coefficient

centroid(component)

Determine spatial centroid of model

correlation_function(img[, maxlength, threshold])

Computes the 2D correlation function of the image.

flux(component)

Determine total flux in every channel

forced_photometry(scene, obs)

Computes the spectra of every source in the scene to match the observations

fwhm(component)

Determine the Full-width at half maximum in pixels

max_pixel(component)

Determine pixel with maximum value

snr(component, observations)

Determine SNR with component as weight function