new Iau2006XysData
A set of IAU2006 XYS data that is used to evaluate the transformation between the International Celestial Reference Frame (ICRF) and the International Terrestrial Reference Frame (ITRF).
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
description.xysFileUrlTemplate |
String |
<optional> |
'Assets/IAU2006_XYS/IAU2006_XYS_{0}.json' | A template URL for obtaining the XYS data. In the template, `{0}` will be replaced with the file index. |
description.interpolationOrder |
Number |
<optional> |
9 | The order of interpolation to perform on the XYS data. |
description.sampleZeroJulianEphemerisDate |
Number |
<optional> |
2442396.5 | The Julian ephemeris date (JED) of the first XYS sample. |
description.stepSizeDays |
Number |
<optional> |
1.0 | The step size, in days, between successive XYS samples. |
description.samplesPerXysFile |
Number |
<optional> |
1000 | The number of samples in each XYS file. |
description.totalSamples |
Number |
<optional> |
27426 | The total number of samples in all XYS files. |
Source:
Methods
-
computeXysRadians
-
Computes the XYS values for a given date by interpolating. If the required data is not yet downloaded, this method will return undefined.
Parameters:
Name Type Argument Description dayTT
Number The Julian day number for which to compute the XYS value, expressed in the Terrestrial Time (TT) time standard. secondTT
Number The seconds past noon of the date for which to compute the XYS value, expressed in the Terrestrial Time (TT) time standard. result
Iau2006XysSample <optional>
The instance to which to copy the interpolated result. If this parameter is undefined, a new instance is allocated and returned. Returns:
Iau2006XysSample The interpolated XYS values, or undefined if the required data for this computation has not yet been downloaded. -
preload
-
Preloads XYS data for a specified date range.
Parameters:
Name Type Description startDayTT
Number The Julian day number of the beginning of the interval to preload, expressed in the Terrestrial Time (TT) time standard. startSecondTT
Number The seconds past noon of the beginning of the interval to preload, expressed in the Terrestrial Time (TT) time standard. stopDayTT
Number The Julian day number of the end of the interval to preload, expressed in the Terrestrial Time (TT) time standard. stopSecondTT
Number The seconds past noon of the end of the interval to preload, expressed in the Terrestrial Time (TT) time standard. Returns:
Promise A promise that, when resolved, indicates that the requested interval has been preloaded.