SiderealTime

SiderealTime[]
gives the right ascension of the local meridian for the current date and location.

SiderealTime[date]
gives the right ascension of the local meridian for the specified date.

SiderealTime[loc]
gives the right ascension of the local meridian for the specified location.

SiderealTime[loc,date]
gives the right ascension of the local meridian for the specified date and location.

SiderealTime[{{loc1,date1},{loc2,date2},}]
gives the right ascensions of the local meridians for all specified locations on the specified dates.

SiderealTime[loc,date,func]
uses func to determine what to return for extended locations.

DetailsDetails

  • SiderealTime[] makes use of $GeoLocation and $TimeZone to determine your location and time zone.
  • Locations can be specified as Entity objects, assuming they represent objects with geographic coordinates or GeoGraphics primitives, or they can be latitude/longitude pairs, assuming degrees as units.
  • Dates can be specified as a DateObject or as a string that resolves to a date.
  • loc and date can be either individual items or lists of them.
  • If datespec is a list of dates, then the results will contain TimeSeries objects.
  • datespec can be specified as for compatibility with DateRange specifications.
  • SiderealTime[,func] is used to specify the format of output when extended locations are specified.
  • Possible settings for func include:
  • Automaticreturns intervals for extended locations only
    Intervalreturns intervals for all specified locations
    Meanreturns mean value for extended locations
    Minreturns minimum values for extended locations
    Maxreturns maximum values for extended locations
    StandardDeviationreturns standard deviation for extended locations

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

Compute the sidereal time for your current location:

In[1]:=
Click for copyable input
Out[1]=

Compute the sidereal time for a specified date:

In[1]:=
Click for copyable input
Out[1]=

Compute the sidereal time for a specified location:

In[1]:=
Click for copyable input
Out[1]=

Compute the sidereal time for a specified latitude/longitude and date:

In[1]:=
Click for copyable input
Out[1]=

Compute the sidereal time for a specified city and date:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)