Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/Telescopes/TCC/html/namespacetcc_1_1util_1_1time.html
Дата изменения: Tue Sep 15 02:25:42 2015
Дата индексирования: Sun Apr 10 04:10:49 2016
Кодировка:

Поисковые слова: vallis
lsst.tcc: tcc.util.time Namespace Reference
lsst.tcc  1.2.2-3-g89ecb63
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
tcc.util.time Namespace Reference

Functions

def daySecFromDate
 Convert a TAI date (MJD, seconds) to (days, seconds in the day) More...
 
def secInDayFromDate
 Convert a date to seconds in the day (losing day information) More...
 
def dateFromSecInDay
 Convert TAI seconds in the day to a full TAI date (MJD, seconds) More...
 

Variables

list __all__ = ["daySecFromDate", "dateFromSecInDay", "secInDayFromDate"]
 
float _HalfDaySec = RO.PhysConst.SecPerDay/2.0
 

Function Documentation

def tcc.util.time.dateFromSecInDay (   secInDay)

Convert TAI seconds in the day to a full TAI date (MJD, seconds)

Definition at line 27 of file time.py.

def tcc.util.time.daySecFromDate (   date)

Convert a TAI date (MJD, seconds) to (days, seconds in the day)

Definition at line 11 of file time.py.

def tcc.util.time.secInDayFromDate (   date)

Convert a date to seconds in the day (losing day information)

A convenience wrapper around daySecFromDate, since we rarely care about the day (the main use case is computing seconds in the day for the old axis controller interface).

Definition at line 19 of file time.py.

Variable Documentation

list tcc.util.time.__all__ = ["daySecFromDate", "dateFromSecInDay", "secInDayFromDate"]

Definition at line 7 of file time.py.

float tcc.util.time._HalfDaySec = RO.PhysConst.SecPerDay/2.0

Definition at line 9 of file time.py.