FixedStar class

A star (or another object outside the solar system) from a catalogue: ICRS position at epoch J2000.0 and space motion.

Constructors

FixedStar({required String name, required String designation, required double rightAscension, required double declination, double properMotionRa = 0, double properMotionDec = 0, double parallax = 0, double radialVelocity = 0, double? magnitude})
const

Properties

declination → double
ICRS right ascension and declination at epoch J2000.0, in degrees.
final
designation → String
Designation, e.g. "alTau" (as in data/stars/jasne_gwiazdy.csv).
final
hashCode → int
The hash code for this object.
no setterinherited
magnitude → double?
V magnitude; null if unknown.
final
name → String
Traditional name (may be empty).
final
parallax → double
Parallax in mas; 0 if unknown (object "infinitely far"). A negative value (measurement error for distant stars) is treated as 0 – as a negative distance it would reverse the direction.
final
properMotionDec → double
Proper motion in mas/year: in right ascension multiplied by cos δ (μα*) and in declination (μδ).
final
properMotionRa → double
Proper motion in mas/year: in right ascension multiplied by cos δ (μα*) and in declination (μδ).
final
radialVelocity → double
Radial velocity in km/s (positive – receding).
final
rightAscension → double
ICRS right ascension and declination at epoch J2000.0, in degrees.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

barycentricScaled(double jdTDB) → Vector3
Direction to the star from the solar system barycentre at jdTDB, scaled by parallax: the vector r/d₀ (d₀ – distance at the catalogue epoch), in the ICRS.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

parseCsv(String text) → List<FixedStar>
Stars from a file in the format of data/stars/jasne_gwiazdy.csv (see tool/build_fixed_stars.dart). Missing proper motion, parallax and radial velocity are taken as 0; so is a negative parallax (measurement error for distant objects).