nenupy.observation.obs_config.NICKELConfig

class nenupy.observation.obs_config.NICKELConfig(**kwargs)[source]

Bases: _BackendConfig

NICKEL 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 (float or TimeDelta) – Time resolution in seconds (min: 0.0, max: 10.0, default: 1.0).

  • durationSec (int or TimeDelta) – Observation duration in seconds (default: 0).

Added in version 1.2.0.

__init__(**kwargs)[source]

Methods

__init__(**kwargs)

fromParset(parset)

Returns a NICKELConfig instance in which NICKEL observation configuration properties are set as defined by the parset.

Attributes

dsTime

Downsampling, can take values in [1, 2, 4, 8, 16, 32, 64, 128]

durationSec

freqRes

nBins

nBits

nChannels

nMAs

nPolars

nSubBands

tFold

timeRes

volume

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 NICKELConfig instance in which NICKEL observation configuration properties are set as defined by the parset.

Parameters:

parset (str or Parset) – Observation parset file.

Returns:

NICKEL configuration as defined by the parset file.

Return type:

NICKELConfig

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:

Quantity

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.