ecpi.analysis.images module

Section author: ECLAIRs GP team

Tools to analyse images

Summary

Classes:

SkyImageStatistics

Compute statistical analysis of a sky image

Class diagram:

Reference

class SkyImageStatistics(sky_count, sky_snr, filter_array=0, reg=[(0, 0), (0, 0)])[source]

Bases: object

Compute statistical analysis of a sky image

run(nb_src=0, snr_limit=0, rad=3, show=False)[source]

run the statistical routine

Parameters
  • nb_src (int) – number of peak to be found. (default=0, no search)

  • snr_limit (float) – only fov positions of snr >= snr_limit is considered

  • rad (float) – avoiding radius for each peak (default=3)

  • show (bool) – flag to show the different sky images along the process (default=False)

Returns

image_stat [mean, median, std], list_src [position, src_count, max_snr]

Return type

[float, float, float], list