ObservationParameters#

class tilepy.include.CampaignDefinition.ObservationParameters(obs_name=None, event_name=None, lat=0, lon=0, height=0, wobbleOffset=0, sunDown=None, moonDown=None, EarthDown=None, moonGrey=None, moonPhase=None, minMoonSourceSeparation=None, maxMoonSourceSeparation=None, SAAThreshold=0, maxZenith=None, FOV=None, maxRuns=None, maxNights=None, duration=None, minDuration=None, useGreytime=None, minSlewing=0, locCut90=None, minimumProbCutForCatalogue=None, minProbcut=None, distCut=None, doPlot=False, secondRound=None, zenithWeighting=None, percentageMOC=None, reducedNside=None, HRnside=None, mangrove=None, skymap=None, mode=None, obsTime=None, datasetDir=None, galcatName=None, outDir=None, pointingsFile=None, countPrevious=False, MO=False, algorithm=None, strategy=None, doRank=False, downloadMaxRetry=0, downloadWaitPeriodRetry=20, shape=None, numberSides=None, igrfcoeffs=None, FoVRotation=None, alphaR=None, betaR=None)[source] [edit on github]#

Bases: object

Stores all the configuration parameters from the .ini file

This class collects observatory, scheduling, and event parameters used for observation planning. Attributes are typically loaded via the from_configfile() method.

See source code for the complete list of available attributes.

Methods Summary

add_parsed_args(skymap, obsTime, datasetDir, ...)

Update instance attributes from parsed command-line arguments.

from_args(obsName, eventName, lat, lon, ...)

Set instance attributes using direct function arguments.

from_configfile(filepath)

Update instance attributes using parsed command-line arguments.

Methods Documentation

add_parsed_args(skymap, obsTime, datasetDir, galcatName, outDir, pointingsFile, igrfcoeffs=None, eventName=None, mode='healpix', ra=None, dec=None, sigma=None, nside=None)[source] [edit on github]#

Update instance attributes from parsed command-line arguments.

from_args(obsName, eventName, lat, lon, height, sunDown, moonDown, EarthDown, moonGrey, moonPhase, minMoonSourceSeparation, maxMoonSourceSeparation, maxZenith, FOV, maxRuns, maxNights, duration, minDuration, useGreytime, minSlewing, minimumProbCutForCatalogue, minProbcut, distCut, doPlot, secondRound, zenithWeighting, percentageMOC, reducedNside, HRnside, mangrove)[source] [edit on github]#

Set instance attributes using direct function arguments.

from_configfile(filepath)[source] [edit on github]#

Update instance attributes using parsed command-line arguments.