4.18. imstat

Returns statistics of the data


Fits.imstat() pd.DataFrame

Returns statistics of the data.

Notes

Stats are calculated using NumPy and include:

  • Number of pixels

  • Mean

  • Standard deviation

  • Minimum

  • Maximum

Returns

pd.DataFrame

The statistics as a pandas DataFrame.


4.18.1. Example:

from myraflib import Fits

fits = Fits.sample()
statistics = fits.imstat()