SunPy sun

The sun submodule contains constants, parameters and models of the Sun.

sunpy.sun.sun Module

Deprecated since version 1.0: This module is deprecated and may be removed in a future version. Use sunpy.coordinates.sun instead.

This module provides Sun-related parameters.

Functions

solar_semidiameter_angular_size([t])

Deprecated since version 1.0.

position([t, equinox_of_date])

Deprecated since version 1.0.

carrington_rotation_number([t])

Deprecated since version 1.0.

true_longitude([t])

Deprecated since version 1.0.

apparent_longitude([t])

Deprecated since version 1.0.

true_latitude([t])

Deprecated since version 1.0.

apparent_latitude([t])

Deprecated since version 1.0.

mean_obliquity_of_ecliptic([t])

Deprecated since version 1.0.

true_rightascension([t, equinox_of_date])

Deprecated since version 1.0.

true_declination([t, equinox_of_date])

Deprecated since version 1.0.

true_obliquity_of_ecliptic([t])

Deprecated since version 1.0.

apparent_rightascension([t, equinox_of_date])

Deprecated since version 1.0.

apparent_declination([t, equinox_of_date])

Deprecated since version 1.0.

print_params([t])

Deprecated since version 1.0.

sunpy.sun.constants Module

This module provides fundamental solar physical constants. The following constants are available:

Name

Value

Unit

Description

mass

1.98847542e+30

kg

Solar mass

radius

695700000

m

Nominal solar radius

luminosity

3.828e+26

W

Nominal solar luminosity

mean distance

1.49597871e+11

m

Astronomical Unit

perihelion distance

1.471e+11

m

Perihelion Distance

aphelion distance

1.521e+11

m

Aphelion Distance

age

4.6e+09

year

Age of the Sun

solar flux unit

1e-22

W m**-2 Hz**-1

Solar flux unit

visual magnitude

-26.75

Apparent visual magnitude

average angular size

959.63

arcsec

Semidiameter

surface area

6.087e+18

m**2

Surface area

average density

1409

kg m**-3

Mean density

surface gravity

274

m s**-2

Surface gravity

moment of inertia

5.7e+54

kg m**-2

Moment of inertia

volume

1.4122e+27

m**3

Volume

escape velocity

617700

m s**-1

Escape velocity at surface

oblateness

8.01

marcsec

oblateness

metallicity

0.0122

Metallicity

sunspot cycle

11.4

year

Average duration of sunspot cycle

average intensity

20090000

W m**-2 sr**-1

Mean Intensity

effective temperature

5778

K

Effective black-body temperature

mass conversion rate

4.3e+09

kg s**-1

Mass conversion rate

center density

162200

kg m**-3

Center density

center temperature

15710000

K

Center temperature

absolute magnitude

4.83

Absolute magnitude

mean energy production

0.0001937

J kg**-1

mean energy production

ellipticity

5e-05

ellipticity

GM

132712000

km**3 s**-2

standard gravitational parameter

Functions

get(key)

Retrieve a constant by key.

find([sub])

Return list of constants keys containing a given string.

print_all()

Provides a table of the complete list of constants.

sunpy.sun.models Module

Solar Physical Models

This module contains standard models of the Sun from various sources.

All data is saved in astropy.table.QTable with an added attribute:

  • source : names the source of the data

Object

interiorastropy.table.QTable

The standard model of the solar interior.

evolutionastropy.table.QTable

The evolution as a function of time of the Sun.

References

  • Adapted from Turck-Chieze et al. (1988) with composition: X = 0.7046, Y = 0.2757, Z = 0.0197