Acspy.Common.EpochHelper
index
/alma/ACS-2016.6/ACSSW/lib/python/site-packages/Acspy/Common/EpochHelper.py

This module contains the implementation of Python helper classes for the ACS
time system.  Specifically, these classes mimic what has been done by the
Control subsystem in C++.
 
TODO:
EpochHelper and DurationHelper have not been fully tested yet!

 
Modules
       
acstime
acstimeSWIG

 
Classes
       
acstimeSWIG.EpochHelper(acstimeSWIG.TimeUtil)
EpochHelper

 
class EpochHelper(acstimeSWIG.EpochHelper)
    Designed to be a wrapper class for the acstime.Epoch struct. This class
is derived directly from the C++ EpochHelper class via SWIG and all inline
doc there is applicable here as well. Only variations from the C++ documentation
is covered here.
 
 
Method resolution order:
EpochHelper
acstimeSWIG.EpochHelper
acstimeSWIG.TimeUtil
__builtin__.object

Methods defined here:
__init__(self, epoch=None)
Constructor.
 
Parameters: if epoch is specified it is used.  Otherwise we assume
member values are decided by reset method.
 
Raises: TypeNotFoundExImpl
add(self, duration)
Overriden.
 
Raises: TypeNotFoundExImpl
compare(self, epoch)
Overriden.
 
Raises: TypeNotFoundExImpl
difference(self, epoch)
Overriden.
 
Raises: TypeNotFoundExImpl
fromString(self, timesys, stringtime)
Overriden.
modulo(self, epoch)
Overriden.
 
Raises: TypeNotFoundExImpl
subtract(self, duration)
Overriden.
 
Raises: TypeNotFoundExImpl
toString(self, timesys, format, array2tai, tai2utc)
Overriden.
value(self, epoch=None)
Overriden.
 
Raises: TypeNotFoundExImpl

Methods inherited from acstimeSWIG.EpochHelper:
__del__ lambda self
__getattr__ lambda self, name
__repr__ = _swig_repr(self)
__setattr__ lambda self, name, value
day(*args)
dayOfWeek(*args)
dayOfYear(*args)
hour(*args)
microSecond(*args)
minute(*args)
month(*args)
normalize(*args)
reset(*args)
second(*args)
toJulianYear(*args)
toUTCdate(*args)
year(*args)

Data and other attributes inherited from acstimeSWIG.EpochHelper:
__swig_destroy__ = <built-in function delete_EpochHelper>
__swig_getmethods__ = {}
__swig_setmethods__ = {}

Data descriptors inherited from acstimeSWIG.TimeUtil:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        __revision__ = '$Id: EpochHelper.py,v 1.1.1.1 2012/03/07 17:40:45 acaproni Exp $'