This site Web
Home Page | The Sun API | Gallery | InfoSearch | News | Links | Contact Us

Sunlit Design > The Sun API > Documentation > Units and Unit Conversion


Index


- Introduction
+ Using the Functions
+ User Guide
+ Function Reference
+ Constants

Contact Developer

Downloads

Units and Unit Conversion

Unit Conversion

  • Angles measured in Degrees:Minutes:Seconds may be converted to Degrees (with decimals) using the sdDMS2D function.
  • Degrees may be converted into 
    • other angular and time measures using the sdD2Unit function.
    • a printable text format using the sdD2Text function.
    • it's component sign, degree, minute and second using the sdDUnpackx function.
  • Other angular and time measures may be converted into degrees with the sdUnit2D function.
  • MJD, SDY, UTD, CTD string time values may be converted to 
    • a printable text format using the sdxTime2Text function.
    • it's component year, month, day, hour, minute, second, and timezone using the sdxTimeUnpackx function.
  • MJD, SDY, UTD, CTD string time values may be converted to a simple numeric value using the sdxGetv function

Coordinate Conversion

  • Solar Equatorial Coordinates may be converted to Horizontal Coordinate values using the sdEqu2Alt and sdEqu2Azi functions.