StarData

StarData["name","property"]
gives the value of the specified property for the star .

StarData[{"name1","name2",},"property"]
gives a list of property values for the specified star names.

StarData["name","property",annotation]
gives the specified annotation associated with the property.

DetailsDetails

  • The specified in StarData can be an Entity, EntityClass, or canonical name.
  • The specified should be an EntityProperty, EntityPropertyClass, canonical name, or list thereof.
  • StarData[] gives a list of all star entities.
  • StarData["Properties"] gives a list of available properties.
  • Properties that do not apply or are not known in a particular case are indicated by Missing[].
  • Properties include:
  • "AbsoluteMagnitude"absolute magnitude
    "Age"age
    "AlphanumericName"alphanumeric name
    "AlternateNames"alternate names
    "AltitudeTransit"next transit altitude
    "Apoapsis"largest distance from orbit center
    "ApparentAltitude"apparent altitude
    "ApparentMagnitude"apparent magnitude
    "AzimuthRise"azimuth at rise
    "AzimuthSet"azimuth at set
    "BayerName"Bayer name
    "BayerStandardName"Bayer standard name
    "BooleanRise"above the horizon
    "BVColorIndex"B-V color index
    "CelestialAltitude"altitude
    "CelestialAzimuth"azimuth
    "Classes"classes
    "Color"color
    "Component"component
    "Constellation"constellation
    "Declination"declination
    "Density"mean density
    "Diameter"average diameter
    "DistanceFromEarth"distance from Earth
    "DistanceFromSun"distance from Sun
    "DurchmusterungName"Durchmusterung name
    "DurchmusterungStandardName"Durchmusterung standard name
    "Eccentricity"orbital eccentricity
    "EffectiveTemperature"effective temperature
    "EquatorialDiameter"equatorial diameter
    "EquatorialRadius"equatorial radius
    "EscapeVelocity"escape velocity
    "FlamsteedName"Flamsteed name
    "FlamsteedStandardName"Flamsteed standard name
    "GalacticLatitude"galactic latitude
    "GalacticLongitude"galactic longitude
    "GlieseName"Gliese catalog designation
    "GlieseStandardName"Gliese catalog standard name designation
    "Glyph"astrological symbol
    "GravitationalConstantMassProduct"gravitational constant mass product
    "Gravity"gravity
    "HDName"HD catalog name
    "HDNumber"HD catalog number
    "HelioCoordinates"heliocentric XYZ coordinates
    "HipparcosName"Hipparcos name
    "HipparcosNumber"Hipparcos number
    "HRName"HR catalog name
    "HRNumber"HR catalog number
    "ICNumber"IC number
    "LifetimeEntropy"entropy at the end of main sequence lifetime
    "Luminosity"luminosity
    "MainSequenceLifetime"main sequence lifetime
    "MajorAxis"major axis
    "Mass"mass
    "MaximalAltitudeTime"next maximum altitude time
    "MaximumAbsoluteMagnitude"maximum absolute magnitude
    "MaximumApparentMagnitude"maximum apparent magnitude
    "Metallicity"metallicity
    "MinimumAbsoluteMagnitude"minimum absolute magnitude
    "MinimumApparentMagnitude"minimum apparent magnitude
    "MomentOfInertia"rotational moment of inertia
    "MultipleSystemMember"member of a multiple star system
    "Name"name
    "NGCNumber"NGC number
    "Oblateness"oblateness
    "Obliquity"obliquity
    "OrbitCenter"orbit center
    "OrbitPeriod"orbital period
    "Parallax"parallax
    "Periapsis"nearest distance from orbit center
    "PolarDiameter"polar diameter
    "PolarRadius"polar radius
    "PositionAngle"position angle
    "ProperMotion"proper motion
    "ProperMotionDeclination"proper motion declination
    "ProperMotionRightAscension"proper motion right ascension
    "RadialVelocity"radial velocity
    "Radius"average radius
    "RightAscension"right ascension
    "RiseTime"next rise
    "RotationPeriod"rotation period
    "SAOName"SAO catalog name
    "SAONumber"SAO catalog number
    "Satellites"known satellites
    "SemimajorAxis"semimajor axis
    "Separation"separation
    "SetTime"next set
    "Shape"shape
    "SpectralClass"spectral class
    "SpectralClassList"spectral class list
    "StarDistanceTimeSeries"distance from Earth time series
    "StarEndState"stellar end state
    "StarImage"image
    "StarType"star type
    "StationaryOrbitRadius"stationary orbit radius
    "StationaryOrbitSpeed"stationary orbit speed
    "SunElongation"elongation from the Sun
    "SurfaceArea"surface area
    "SystemMembers"system members
    "TransitTime"next transit time
    "TychoNumber"Tycho number
    "VariablePeriod"variability period
    "VariableStarName"variable star name
    "VariableStarType"variable star type
    "Volume"volume
    "WDSIdentifier"WDS identifier
  • Some properties are available for StarData as a whole and can be given using the form StarData["property"]. Such properties include:
  • "Entities"all available entities
    "EntityCount"total number of available entities
    "Classes"all available entity classes
    "EntityClassCount"total number of available entity classes
    "SampleEntities"list of sample entities
    "SampleEntityClasses"list of sample entity classes
    "EntityCanonicalNames"list of all entity canonical names
    "PropertyCanonicalNames"list of all property canonical names
    "EntityClassCanonicalNames"list of all entity class canonical names
    "RandomEntities"pseudorandom sample entities
    {"RandomEntities",n}n pseudorandom entities
    "RandomEntityClasses"pseudorandom sample entity classes
    {"RandomEntityClasses",n}n pseudorandom entity classes
  • The following annotations can be used in the third argument of StarData["name","property",annotation]:
  • "Qualifiers"the list of possible qualifiers for the property
    "QualifierValues"the list of possible values that can be given to each qualifier
    "DefaultQualifierValues"the list of default values for the property's qualifiers
    "Description"a brief textual description of the property
    "Definition"a detailed textual definition of the property
    "Source"source information for the property
    "Date"the date associated with the entity-property value (if any)
    "PhysicalQuantity"the physical quantity associated with the entity-property value
    "Unit"the unit associated with the entity-property value
    "EntityAssociation"an Association of entities and entity-property values
    "PropertyAssociation"an Association of properties and entity-property values
  • If a function is provided as an annotation, it will be used to aggregate the result data. Typical aggregation functions include:
  • Minthe minimum value
    Maxthe maximum value
    Meanthe mean value
    Commonestthe most frequently occuring value
    Medianthe median value
    Totalreturns the total
    Lengththe number of elements

ExamplesExamplesopen allclose all

Basic Examples  (8)Basic Examples  (8)

Use Ctrl+Equal for discovery:

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

Find the effective temperature of a star:

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

Find the equatorial coordinates of a star:

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

Find the current sky position of a star from your location:

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

Get a list of classes of stars:

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

Find the spectral classes of barium stars:

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

The 10 nearest stars:

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

Distances in light years:

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

Spectral class information:

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

Find stars whose names begin with "Alb":

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