nenupy.observation.obs_config.PulsarWaveConfig
- class nenupy.observation.obs_config.PulsarWaveConfig(_setFromParset=False, **kwargs)[source]
Bases:
_UnDySPuTeDConfigUnDySPuTeD Pulsar-WAVEOLAF mode observation configuration.
- Parameters:
Added in version 1.2.0.
Methods
__init__([_setFromParset])fromParset(parset)Returns a
PulsarWaveConfiginstance in which UnDySPuTeD Pulsar-WAVEOLAF 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 an UnDySPuTeD Pulsar-WAVEOLAF observation 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
PulsarWaveConfiginstance in which UnDySPuTeD Pulsar-WAVEOLAF observation configuration properties are set as defined by theparset.- Parameters:
- Returns:
UnDySPuTeD Pulsar-WAVEOLAF configuration as defined by the
parsetfile.- Return type:
- Example:
>>> from nenupy.observation import PulsarWaveConfig >>> waveconf = PulsarWaveConfig.fromParset('nenufar_obs.parset')
- 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 an UnDySPuTeD Pulsar-WAVEOLAF observation file.
- Getter:
Data volume.
- Type:
- Example:
>>> from nenupy.observation import PulsarWaveConfig >>> waveconf = PulsarWaveConfig( durationSec=3600 ) >>> waveconf.volume 285.85707 Gibyte
>>> from nenupy.observation import PulsarWaveConfig >>> waveconf = PulsarWaveConfig.fromParset( 'nenufar_obs.parset' ) >>> waveconf.volume XXX Gibyte