5.21. imstat

Returns statistics of the data.


FitsArray.imstat(self) 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 DataFrame.


5.21.1. Example:

from myraflib import FitsArray

fa = FitsArray.sample()
statistics = fa.imstat()