Bases: astropy.time.Time
Represent the time difference between two times.
A TimeDelta object is initialized with one or more times in the val argument. The input times in val must conform to the specified format. The optional val2 time input should be supplied only for numeric input formats (e.g. JD) where very high precision (better than 64-bit precision) is required.
Parameters: | val : numpy ndarray, list, str, number, or TimeDelta object
val2 : numpy ndarray, list, str, or number; optional
format : str, optional
scale : str, optional
copy : bool, optional
|
---|
Attributes Summary
FORMATS | |
SCALES | list() -> new empty list |
Methods Summary
replicate(*args, **kwargs) | |
to(*args, **kwargs) |
Attributes Documentation
Dict of time delta formats.
List of time delta scales.
Methods Documentation