compact_morphology

compact_morphology#

scarlet2.init.compact_morphology(min_value=1e-06, max_value=0.999999)[source]#

Create image of the point source morphology model, i.e. the most compact source possible

Parameters:
  • min_value (float) – Minimum pixel value (needed for positively constrained morphologies)

  • max_value (float) – minimum pixel value (useful to set to < 1 for unit interval constraints)

Returns:

2D array, normalized to the range [0,1]

Return type:

array