nenupy.observation.obs_config.NICKELConfig
- class nenupy.observation.obs_config.NICKELConfig(**kwargs)[source]
Bases:
_BackendConfigNICKEL correlator observation configuration.
- Parameters:
nSubBands (
int) – Number of sub-bands (min:1, max:384, default:384).nChannels (
int) – Number of channels (min:1, max:64, default:64).nPolars (
int) – Number of polarizations (min:1, max:4, default:4).nMAs (
int) – Number of Mini-Arrays (min:2, max:102, default:96).timeRes (
floatorTimeDelta) – Time resolution in seconds (min:0.0, max:10.0, default:1.0).durationSec (
intorTimeDelta) – Observation duration in seconds (default:0).
Added in version 1.2.0.
Methods
__init__(**kwargs)fromParset(parset)Returns a
NICKELConfiginstance in which NICKEL 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 NICKEL Measurement Set.
- 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
NICKELConfiginstance in which NICKEL observation configuration properties are set as defined by theparset.- Parameters:
- Returns:
NICKEL configuration as defined by the
parsetfile.- Return type:
- Example:
>>> from nenupy.observation import NICKELConfig >>> nriconf = NICKELConfig.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 a NICKEL Measurement Set.
- Getter:
Data volume.
- Type:
- Example:
>>> from nenupy.observation import NICKELConfig >>> nriconf = NICKELConfig( nMAs=56, nSubBands=244, nChannels=64, timeRes=1, durationSec=3600 ) >>> nriconf.volume.to('Tibyte') 2.6112914 Tibyte
>>> from nenupy.observation import NICKELConfig >>> nriconf = NICKELConfig.fromParset( 'nenufar_obs.parset' ) >>> nriconf.volume XXX Gibyte
Warning
The data volume estimation does not handle specificities of the Measurement Set. Therefore, the volume may be underestimated.