DP3
Public Member Functions | List of all members
dp3::common::VdsDesc Class Reference

Describe an entire visibility data set. More...

#include <VdsDesc.h>

Public Member Functions

 VdsDesc (const VdsPartDesc &=VdsPartDesc())
 
void addPart (const VdsPartDesc &part)
 Add a part. More...
 
const VdsPartDescgetDesc () const
 Get the description of the VDS. More...
 
const std::vector< VdsPartDesc > & getParts () const
 Get the description of the parts. More...
 
void setDesc (const VdsPartDesc &desc)
 
void write (std::ostream &os) const
 Write it in parset format. More...
 
 VdsDesc (const std::string &parsetName)
 
 VdsDesc (const ParameterSet &parset)
 

Detailed Description

Describe an entire visibility data set.

This class holds the description of an entire visibility data set (VDS). In VdsPartDesc objects it describes the parts it consists of and on which file systems they are located. A VdsPartDesc object is also used to describe the entire VDS. Furthermore it contains the names of all antennae, which can be used to map the antenna name to the antenna number when a selection on antenna names is done.

Currently the information is made persistent in a LOFAR .parset file. In the future it needs to use the Centrol Processor Resource Manager.

Constructor & Destructor Documentation

◆ VdsDesc() [1/3]

dp3::common::VdsDesc::VdsDesc ( const VdsPartDesc = VdsPartDesc())
explicit

Construct with a description of the entire visibility data set. The description can be empty and set later using setDesc.

◆ VdsDesc() [2/3]

dp3::common::VdsDesc::VdsDesc ( const std::string &  parsetName)
explicit

Construct from the given parameterset.

◆ VdsDesc() [3/3]

dp3::common::VdsDesc::VdsDesc ( const ParameterSet parset)
inlineexplicit

Member Function Documentation

◆ addPart()

void dp3::common::VdsDesc::addPart ( const VdsPartDesc part)
inline

Add a part.

◆ getDesc()

const VdsPartDesc& dp3::common::VdsDesc::getDesc ( ) const
inline

Get the description of the VDS.

◆ getParts()

const std::vector<VdsPartDesc>& dp3::common::VdsDesc::getParts ( ) const
inline

Get the description of the parts.

◆ setDesc()

void dp3::common::VdsDesc::setDesc ( const VdsPartDesc desc)
inline

Set the description of the VDS. Usually the description is set in the constructor, but this offers another way of doing it.

◆ write()

void dp3::common::VdsDesc::write ( std::ostream &  os) const

Write it in parset format.


The documentation for this class was generated from the following file: