Template:Solar radius calculator/doc
Jump to navigation
Jump to search
Template:Documentation subpage This template is primarily used by Template:T to simplify its code and allow for easier updating should values require changing. It calculates the radius of a star in comparison to the Solar radius Template:Solar radius.
Parameters
This template has one named and up to two unnamed parameters; the named parameter type determines the calculation, while the unnamed parameter(s) are the values to be input into the equation. If the unit Template:Solar radius is desired, use Template:Para and optional Template:Para.
| Template:Para | 1 |
2
|
|---|---|---|
Rcm |
Radius in cm | |
Rm |
Radius in m | |
AD |
angular diameter in milliarcseconds (mas) | distance in kiloparsecs |
logLT |
log of the luminosity | temperature in K |
LT |
luminosity | temperature in K |
Examples
- Rcm
- Template:Tlc → Template:Solar radius calculator
- AD
- Template:Tlc → Template:Solar radius calculator
- LT using logL
- Template:Tlc → Template:Solar radius calculator
- LT using L and unit
- Template:Tlc → Template:Solar radius calculator
Values and calculations
All radii, once calculated, are divided by Template:Val to convert from m to Template:Solar radius.
- AD
- radius determined from angular diameter and distance
- D is multiplied by Template:Val to convert from kpc to m
- L/Teff
- radius calculated from bolometric luminosity and effective temperature per the Stefan–Boltzmann law
- If is provided, is used
- L is multiplied by Template:Val to convert from solar luminosity to watts