Advertising:
Πρότυπο:Starbox astrometry
Astrometry {{#if:| | |
---|---|
Radial velocity (Rv) | {{{radial_v}}} km/s |
Proper motion (μ) | RA: - mas/yr Dec.: - mas/yr |
Parallax (π) | {{{parallax}}}{{#if:| ± {{{p_error}}} }} mas |
Distance | {{#if:|{{{dist_ly}}}|
{{#if:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }}|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} > {{#expr: 3261.5638 / {{{parallax}}} }} * 0.1|approx. {{#expr: {{#expr: 3261.5638 / {{{parallax}}} }} round {{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.0001|5|{{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.001|4|{{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.01|3|{{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.1|2|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 1.0|1|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 10.0|0|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 100.0|-1|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 1000.0|-2|-3}} }} }} }} }} }} }} }}}}|{{#expr: {{#expr: 3261.5638 / {{{parallax}}} }} round {{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.0001|5|{{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.001|4|{{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.01|3|{{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.1|2|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 1.0|1|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 10.0|0|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 100.0|-1|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} ± {{#expr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} round {{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.0001|5|{{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.001|4|{{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.01|3|{{#ifexpr:{{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 0.1|2|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 1.0|1|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 10.0|0|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 100.0|-1|{{#ifexpr: {{#if:|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }} < 1000.0|-2|-3}} }} }} }} }} }} }} }} }} }} |{{#expr: 3261.5638 / {{{parallax}}} }} }} }} ly {{#if:|| |
Absolute magnitude (MV) | {{{absmag_v}}} |
This is part of a group of templates that are used to display astronomical information related to a specific star. It should always be preceded by a Πρότυπο:Tl template. The template can then be used as follows:
{{Starbox astrometry | radial_v=Radial velocity | prop_mo_ra=Proper motion (RA) | prop_mo_dec=Proper motion (dec) | pos_ang=Position angle | parallax=Parallax | p_error=Parallax error | absmag_v=Resulting absolute magnitude }}
In addition, the following optional parameters are computed if they are not set:
dist_ly=Distance in light years | dist_pc=Distance in parsecs |