VieSched++
VieVS VLBI Scheduling Software
VieVS::AbstractSource::Parameters Class Reference

source parameters More...

#include <AbstractSource.h>

Inheritance diagram for VieVS::AbstractSource::Parameters:
Collaboration diagram for VieVS::AbstractSource::Parameters:

Public Member Functions

 Parameters (const std::string &name)
 constructor More...
 
void setParameters (const Parameters &other)
 copy parameters from other More...
 
void setAvailable (bool flag)
 setter for available More...
 
void setGlobalAvailable (bool flag)
 set global availability More...
 
void output (std::ofstream &of) const
 output of the curren parameters to out stream More...
 
- Public Member Functions inherited from VieVS::VieVS_NamedObject
 VieVS_NamedObject (std::string name, unsigned long id)
 constructor More...
 
 VieVS_NamedObject (std::string name, std::string alternativeName, unsigned long id)
 constructor More...
 
const std::string & getName () const
 get object name More...
 
const std::string & getAlternativeName () const
 get object alternative name More...
 
bool hasAlternativeName () const
 check if object has alternative name More...
 
bool hasName (const std::string &name) const
 check if object has name More...
 
void changeName (const std::string &newName)
 change name of object More...
 
- Public Member Functions inherited from VieVS::VieVS_Object
 VieVS_Object (unsigned long id)
 constructor More...
 
const unsigned long getId () const
 get object id More...
 
bool hasValidId () const
 check if id is valid More...
 
bool hasId (unsigned long id) const
 check if object has specific id More...
 
void setId (unsigned long id)
 set object id More...
 
std::string printId () const
 object id string More...
 

Public Attributes

bool available = true
 flag is source is available More...
 
bool globalAvailable = true
 flag if source is available More...
 
bool availableForFillinmode = true
 flag if source is available for fillin mode More...
 
double weight = 1
 multiplicative factor of score for scans to this source More...
 
std::unordered_map< std::string, double > minSNR
 minimum required signal to noise ration for each band More...
 
unsigned int minNumberOfStations = 3
 minimum number of stations for a scan More...
 
double minFlux = 0.001
 minimum flux density required for this source in jansky More...
 
unsigned int minRepeat = 1800
 minimum time between two observations of this source in seconds More...
 
unsigned int maxScan = 9999
 maximum allowed scan time in seconds More...
 
unsigned int minScan = 0
 minimum required scan time in seconds More...
 
unsigned int maxNumberOfScans = 9999
 maximum number of scans More...
 
double minElevation = 0
 minimum elevation in radians More...
 
double minSunDistance = 4 * deg2rad
 minimum sun distance in radians More...
 
bool tryToFocusIfObservedOnce = false
 flag if this source should be focused after observed once More...
 
boost::optional< double > tryToFocusFactor
 increase weight if scheduled once factor More...
 
boost::optional< TryToFocusOccurrencytryToFocusOccurrency
 weight factor change occurrency More...
 
boost::optional< TryToFocusTypetryToFocusType
 weight factor change type More...
 
boost::optional< unsigned int > tryToObserveXTimesEvenlyDistributed
 
boost::optional< unsigned int > tryToObserveXTimesMinRepeat
 backup minimum repeat time More...
 
boost::optional< unsigned int > fixedScanDuration
 optional fixed scan duration More...
 
std::vector< unsigned long > ignoreStations
 list of all stations ids which should be ignored More...
 
std::vector< unsigned long > ignoreBaselines
 list of all baseline ids which should be ignored More...
 
std::vector< unsigned long > requiredStations
 list of station ids which are required for a scan to this source More...
 

Static Private Attributes

static unsigned long nextId = 0
 next id for this object type More...
 

Detailed Description

source parameters

Author
Matthias Schartner

Constructor & Destructor Documentation

VieVS::AbstractSource::Parameters::Parameters ( const std::string &  name)
inlineexplicit

constructor

Author
Matthias Schartner
Parameters
nameparameter name

Member Function Documentation

void VieVS::AbstractSource::Parameters::output ( std::ofstream &  of) const
inline

output of the curren parameters to out stream

Author
Matthias Schartner
Parameters
ofout stream object
void VieVS::AbstractSource::Parameters::setAvailable ( bool  flag)
inline

setter for available

Author
Matthias Schartner
Parameters
flagtrue if source is available
void VieVS::AbstractSource::Parameters::setGlobalAvailable ( bool  flag)
inline

set global availability

Author
Matthias Schartner
Parameters
flagflag
void AbstractSource::Parameters::setParameters ( const Parameters other)

copy parameters from other

Author
Matthias Schartner
Parameters
othersource parameters

Member Data Documentation

bool VieVS::AbstractSource::Parameters::available = true

flag is source is available

bool VieVS::AbstractSource::Parameters::availableForFillinmode = true

flag if source is available for fillin mode

boost::optional<unsigned int> VieVS::AbstractSource::Parameters::fixedScanDuration

optional fixed scan duration

bool VieVS::AbstractSource::Parameters::globalAvailable = true

flag if source is available

std::vector<unsigned long> VieVS::AbstractSource::Parameters::ignoreBaselines

list of all baseline ids which should be ignored

std::vector<unsigned long> VieVS::AbstractSource::Parameters::ignoreStations

list of all stations ids which should be ignored

unsigned int VieVS::AbstractSource::Parameters::maxNumberOfScans = 9999

maximum number of scans

unsigned int VieVS::AbstractSource::Parameters::maxScan = 9999

maximum allowed scan time in seconds

double VieVS::AbstractSource::Parameters::minElevation = 0

minimum elevation in radians

double VieVS::AbstractSource::Parameters::minFlux = 0.001

minimum flux density required for this source in jansky

unsigned int VieVS::AbstractSource::Parameters::minNumberOfStations = 3

minimum number of stations for a scan

unsigned int VieVS::AbstractSource::Parameters::minRepeat = 1800

minimum time between two observations of this source in seconds

unsigned int VieVS::AbstractSource::Parameters::minScan = 0

minimum required scan time in seconds

std::unordered_map<std::string, double> VieVS::AbstractSource::Parameters::minSNR

minimum required signal to noise ration for each band

double VieVS::AbstractSource::Parameters::minSunDistance = 4 * deg2rad

minimum sun distance in radians

unsigned long VieVS::AbstractSource::Parameters::nextId = 0
staticprivate

next id for this object type

std::vector<unsigned long> VieVS::AbstractSource::Parameters::requiredStations

list of station ids which are required for a scan to this source

boost::optional<double> VieVS::AbstractSource::Parameters::tryToFocusFactor

increase weight if scheduled once factor

bool VieVS::AbstractSource::Parameters::tryToFocusIfObservedOnce = false

flag if this source should be focused after observed once

boost::optional<TryToFocusOccurrency> VieVS::AbstractSource::Parameters::tryToFocusOccurrency

weight factor change occurrency

boost::optional<TryToFocusType> VieVS::AbstractSource::Parameters::tryToFocusType

weight factor change type

boost::optional<unsigned int> VieVS::AbstractSource::Parameters::tryToObserveXTimesEvenlyDistributed

tries to observe a source X times over the timespan in which the source is scanable. Overwrites maxScan and tryToFocusIfObservedOnce.

boost::optional<unsigned int> VieVS::AbstractSource::Parameters::tryToObserveXTimesMinRepeat

backup minimum repeat time

double VieVS::AbstractSource::Parameters::weight = 1

multiplicative factor of score for scans to this source


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