BlackHoleMeasuretype
A number the papers give with its range: the best value, and the lowest and highest the paper allows, or only a limit.
Import it
import type { BlackHoleMeasure } from "@johnmorrisdotca/hoshi-stars/black-holes";
Definition
interface BlackHoleMeasure {
value: number | undefined;
low: number | undefined;
high: number | undefined;
limit: "lower" | "upper" | undefined;
}
Members
| Name | Type | Description |
|---|---|---|
value | number | undefined | The best value, or |
low | number | undefined | The lowest value the paper allows (about one standard deviation below, or the bottom of a range), or |
high | number | undefined | The highest value the paper allows, or |
limit | "lower" | "upper" | undefined |
|
Examples
import { blackHole, type BlackHoleMeasure } from "@johnmorrisdotca/hoshi-stars/black-holes";
const mass: BlackHoleMeasure = blackHole("Cygnus X-1")!.massSuns!;
console.log(mass.value, mass.low, mass.high);21.2 19 23.4What it prints (run when this page was built)