scarlet2.plot#
Plotting functions
Classes
|
AsinhAutomaticNorm class |
|
AsinhNorm class |
|
AsinhPercentileNorm class |
|
Class for linear normalization |
|
Class for linear normalization based on percentiles |
|
Base class to normalize the color values of RGB images |
Functions
|
Get the linear mapping of multiple channels to RGB channels The mapping created here assumes the the channels are ordered in wavelength direction, starting with the shortest wavelength. |
|
The confidence of each source in scene based on the hallucination score |
|
Cut out a square box from a 2D array based on the center and size. |
|
Calculate the hallucination score of a source in scene based on obs |
|
Calculate the Hessian-vector product of a function f |
|
Calculate the Hessian-vector product of a gradient function grad_f |
|
Approximate the diagonal of the Hessian |
|
Convert multi-band image cube into 3 RGB channels |
|
Convert images to normalized RGB. |
|
Calculate the log-likelihood of the model given the data |
|
Gradient of neural_grad with respect to positional argument(s) 0. |
|
Plot observation |
|
Plot all sources to recreate the scene. |
|
Plot all sources in scene |