nenupy.io.io_tools.StatisticsData

class nenupy.io.io_tools.StatisticsData(file_name)[source]

Bases: ABC

__init__(file_name)[source]

Methods

__init__(file_name)

info()

Print the basic file information.

Attributes

frequencies

Returns the mid frequency of the recorded subbands.

property frequencies

Returns the mid frequency of the recorded subbands.

info()[source]

Print the basic file information.

Example

>>> from nenupy.io.bst import BST

>>> bst = BST("/path/to/20231201_021200_BST.fits")
>>> bst.info()
file: '/path/to/20231201_021200_BST.fits'
frequency (384,): 11.9140625 MHz -- 86.71875 MHz
time (13600,): 2023-12-01T02:13:10.000 -- 2023-12-01T05:59:49.000
data: (13600, 2, 768)