Public Member Functions | |
def | __init__ |
def | DatetimeToStr |
def | LSDuration |
def | OrbitDuration |
def | OrbitToLocalTimestamp |
def | OrbitToTime |
def | OrbitToTimeStr |
def | OrbitToUTCTimestamp |
def | StrToDatetime |
Public Attributes | |
bunchspace_s | |
bunchspace_us | |
coraltimefm | |
nbx | |
pydatetimefm | |
Definition at line 4 of file lumiTime.py.
def lumiTime.lumiTime.__init__ | ( | self | ) |
Definition at line 5 of file lumiTime.py.
def lumiTime.lumiTime.DatetimeToStr | ( | self, | |
timeValue, | |||
customfm = '' |
|||
) |
convert python datetime to string timestamp
Definition at line 57 of file lumiTime.py.
References lumiTime.lumiTime.pydatetimefm.
Referenced by lumiTime.lumiTime.OrbitToTimeStr().
def lumiTime.lumiTime.LSDuration | ( | self, | |
norbits | |||
) |
Definition at line 12 of file lumiTime.py.
References lumiTime.lumiTime.bunchspace_us, and lumiTime.lumiTime.nbx.
def lumiTime.lumiTime.OrbitDuration | ( | self | ) |
Definition at line 15 of file lumiTime.py.
References lumiTime.lumiTime.bunchspace_us, and lumiTime.lumiTime.nbx.
Referenced by lumiTime.lumiTime.OrbitToTime(), and lumiTime.lumiTime.OrbitToTimeStr().
def lumiTime.lumiTime.OrbitToLocalTimestamp | ( | self, | |
begStrTime, | |||
orbitnumber, | |||
begorbit = 0 |
|||
) |
given a orbit number, return its corresponding unixtimestamp. Default run begin time counting from orbit=0
Definition at line 28 of file lumiTime.py.
References lumiTime.lumiTime.OrbitToTime().
def lumiTime.lumiTime.OrbitToTime | ( | self, | |
begStrTime, | |||
orbitnumber, | |||
begorbit = 0 |
|||
) |
given a orbit number, return its corresponding time. Default run begin time counting from orbit=0
Definition at line 23 of file lumiTime.py.
References lumiTime.lumiTime.OrbitDuration(), and lumiTime.lumiTime.StrToDatetime().
Referenced by lumiTime.lumiTime.OrbitToLocalTimestamp(), and lumiTime.lumiTime.OrbitToUTCTimestamp().
def lumiTime.lumiTime.OrbitToTimeStr | ( | self, | |
begStrTime, | |||
orbitnumber, | |||
begorbit = 0 |
|||
) |
given a orbit number, return its corresponding time. Assuming begin time has orbit=0
Definition at line 18 of file lumiTime.py.
References lumiTime.lumiTime.DatetimeToStr(), lumiTime.lumiTime.OrbitDuration(), and lumiTime.lumiTime.StrToDatetime().
def lumiTime.lumiTime.OrbitToUTCTimestamp | ( | self, | |
begStrTime, | |||
orbitnumber, | |||
begorbit = 0 |
|||
) |
given a orbit number, return its corresponding unixtimestamp. Default run begin time counting from orbit=0
Definition at line 37 of file lumiTime.py.
References lumiTime.lumiTime.OrbitToTime().
def lumiTime.lumiTime.StrToDatetime | ( | self, | |
strTime, | |||
customfm = '' |
|||
) |
convert string timestamp to python datetime
Definition at line 45 of file lumiTime.py.
References lumiTime.lumiTime.pydatetimefm.
Referenced by lumiTime.lumiTime.OrbitToTime(), and lumiTime.lumiTime.OrbitToTimeStr().
lumiTime.lumiTime.bunchspace_s |
Definition at line 10 of file lumiTime.py.
lumiTime.lumiTime.bunchspace_us |
Definition at line 9 of file lumiTime.py.
Referenced by lumiTime.lumiTime.LSDuration(), and lumiTime.lumiTime.OrbitDuration().
lumiTime.lumiTime.coraltimefm |
Definition at line 6 of file lumiTime.py.
lumiTime.lumiTime.nbx |
Definition at line 8 of file lumiTime.py.
Referenced by lumiTime.lumiTime.LSDuration(), and lumiTime.lumiTime.OrbitDuration().
lumiTime.lumiTime.pydatetimefm |
Definition at line 7 of file lumiTime.py.
Referenced by lumiTime.lumiTime.DatetimeToStr(), and lumiTime.lumiTime.StrToDatetime().