time/timedelta-1.0.0¶
Represents an instance of TimeDelta from astropy
Description
Represents the time difference between two times.
Outline
Schema Definitions ¶
This type is an object with the following properties:
jd1
object Required Value representing first 64 bits of precision
This node must validate against any of the following:
number
jd2
object Required Value representing second 64 bits of precision
This node must validate against any of the following:
number
format
string Required No length restrictionFormat of time value representation.
scale
string No length restrictionTime scale of input value(s).
Only the following values are valid for this node:
tdb
tt
ut1
tcg
tcb
tai
local
Original Schema ¶
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.0.0"
id: "http://astropy.org/schemas/astropy/time/timedelta-1.0.0"
title: Represents an instance of TimeDelta from astropy
description: |
Represents the time difference between two times.
type: object
properties:
jd1:
anyOf:
- type: number
- $ref: "http://stsci.edu/schemas/asdf/core/ndarray-1.0.0"
description: |
Value representing first 64 bits of precision
jd2:
anyOf:
- type: number
- $ref: "http://stsci.edu/schemas/asdf/core/ndarray-1.0.0"
description: |
Value representing second 64 bits of precision
format:
type: string
description: |
Format of time value representation.
scale:
type: string
description: |
Time scale of input value(s).
enum: [tdb, tt, ut1, tcg, tcb, tai, local]
required: [jd1, jd2, format]
additionalProperties: False
...