JD2Marslsubs

From DavinciWiki
Jump to: navigation, search

Description

Convert the input Julian date to a Martian LsubS

Arguments and Return Values

Parameters: Julian date (in either J2000 or JD)

Return Value: The corresponding solar longitude for mars

Usage

Syntax: Jd2Marslsubs(JD [, J2000=BOOL])

The Julian Date (JD) is a continuous count of days since noon UTC on January 1, 4713 BCE in the proleptic Julian calendar.

Coordinated Universal Time (UTC) is the basis for the time system used in everyday life. In order to keep UTC consistent with the Earth's slightly variable rate of rotation, leap seconds are occasionally inserted into UTC. Terrestrial Time (TT) is a time system with no leap seconds.

Returns double-precision Julian Dates in Terrestrial Time. The returned values are as accurate as the input, although that accuracy may be further limited by uncertainty in Delta-T. See the function DeltaT for details.

For more information, see http://heasarc.gsfc.nasa.gov/docs/xte/abc/time_tutorial.html and http://www.giss.nasa.gov/tools/mars24/help/algorithm.html.

When JD2Marslsubs() is entered without any arguments, it prints its description, as shown below.

Examples

dv> JD2Marslsubs()

Convert a Julain data directly to Ls
$1=Julian date

J2000 = is date in J2000? (Default = 0)
This function was modified from: giss.nasa.gov/tools/mars24
NOTE: This only works for JD > 2000
c.edwards
dv> jd=JD(2012,4,1,0,0,0)
2456018.500
dv> JD2Marslsubs(jd)
90.80322946

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 04-04-2014
Modified On: 04-04-2014

Personal tools