Wolfram 语言与系统 10.0 (2014)|旧版文档

此为更早版本的 Wolfram 语言文档查看最新文档(版本11.2)

ExoplanetData

ExoplanetData["name","property"]
gives the value of the specified property for the exoplanet .

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

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

更多信息更多信息

  • The specified in ExoplanetData can be an Entity, EntityClass, or canonical name.
  • The specified should be an EntityProperty, EntityPropertyClass, canonical name, or list thereof.
  • ExoplanetData[] gives a list of all exoplanet entities.
  • ExoplanetData["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:
  • "AlphanumericName"alphanumeric name
    "AlternateNames"alternate names
    "AltitudeTransit"next transit altitude
    "AverageOrbitDistance"average orbit distance
    "AzimuthRise"azimuth at rise
    "AzimuthSet"azimuth at set
    "BooleanRise"above the horizon
    "CelestialAltitude"altitude
    "CelestialAzimuth"azimuth
    "Classes"classes
    "Component"component
    "Constellation"constellation
    "Declination"declination
    "Density"mean density
    "Diameter"average diameter
    "DiscoveryMethod"discovery method
    "DiscoveryYear"discovery year
    "DistanceFromEarth"distance from Earth
    "DistanceFromSun"distance from Sun
    "DurationTransit"transit duration
    "Eccentricity"orbital eccentricity
    "GalacticLatitude"galactic latitude
    "GalacticLongitude"galactic longitude
    "GravitationalConstantMassProduct"gravitational constant mass product
    "Gravity"gravity
    "HelioCoordinates"heliocentric XYZ coordinates
    "Inclination"orbital inclination
    "MajorAxis"major axis
    "Mass"mass
    "MaximalAltitudeTime"next maximum altitude time
    "MinorAxis"minor axis
    "MomentOfInertia"rotational moment of inertia
    "Name"name
    "OrbitCenter"orbit center
    "OrbitCircumference"orbit circumference
    "OrbitPeriod"orbital period
    "PeriapsisLongitude"longitude of periapsis
    "PrimaryStarKSemiamplitude"primary star K semiamplitude
    "Radius"average radius
    "RetrogradeApparentMotionQuery"apparent direction
    "RightAscension"right ascension
    "RiseTime"next rise
    "RocheLimit"Roche limit
    "SemimajorAxis"semimajor axis
    "SemiminorAxis"semiminor axis
    "SetTime"next set
    "SurfaceArea"surface area
    "TransitTime"next transit time
    "Volume"volume
  • Some properties are available for ExoplanetData as a whole and can be given using the form ExoplanetData["property"]. Such properties include:
  • "Entities"all available entitites
    "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 ExoplanetData["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

范例范例打开所有单元关闭所有单元

基本范例  (4)基本范例  (4)

Use Ctrl+Equal for discovery:

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

Find the mass of an exoplanet:

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

Find the average orbit distance of exoplanets in a given system:

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

Get a list of exoplanets in a specified class:

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