nenupy.observation.obs_config.BSTConfig
- class nenupy.observation.obs_config.BSTConfig(**kwargs)[source]
Bases:
_BackendConfigBeamlet Statistics observation configuration.
- Parameters:
Added in version 1.2.0.
Methods
__init__(**kwargs)fromParset(parset)Returns a
BSTConfiginstance in which BST observation configuration properties are set as defined by theparset.Attributes
Downsampling, can take values in [1, 2, 4, 8, 16, 32, 64, 128]
Computes an estimation of the data volume of a BST FITS file.
- property dsTime
Downsampling, can take values in [1, 2, 4, 8, 16, 32, 64, 128]
- property durationSec
- property freqRes
- classmethod fromParset(parset)[source]
Returns a
BSTConfiginstance in which BST observation configuration properties are set as defined by theparset.
- property nBins
- property nBits
- property nChannels
- property nMAs
- property nPolars
- property nSubBands
- property tFold
- property timeRes
- property volume
Computes an estimation of the data volume of a BST FITS file.
- Getter:
Data volume.
- Type:
- Example:
>>> from nenupy.observation import BSTConfig >>> bstconf = BSTConfig( durationSec=3600 ) >>> bstconf.volume 21.09375 Mibyte
>>> from nenupy.observation import BSTConfig >>> bstconf = BSTConfig.fromParset( 'nenufar_obs.parset' ) >>> bstconf.volume XXX Mibyte
Warning
The data volume estimation does not handle specificities of the FITS file in which the BST are stored (in particular metadata and FITS architecture). Therefore, the volume may be underestimated by a few MB.