Skip to content

Commit

Permalink
Add jansky and solar flux unit
Browse files Browse the repository at this point in the history
  • Loading branch information
triallax authored and sharkdp committed May 13, 2024
1 parent 4fb9ab8 commit be15c72
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions numbat/modules/extra/astronomy.nbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,15 @@ unit solar_radius: Length = 6.957e5 km

dimension RadiantFlux = Power
unit solar_luminosity: RadiantFlux = 3.828e26 W

dimension SpectralFluxDensity = RadiantFlux / Area / Frequency

@name("Jansky")
@url("https://en.wikipedia.org/wiki/Jansky")
@aliases(janskys, Jy: short)
unit jansky: SpectralFluxDensity = 1e-26 W / m^2 / Hz

@name("Solar flux unit")
@url("https://en.wikipedia.org/wiki/Solar_flux_unit")
@aliases(solarfluxunits, sfu: short)
unit solarfluxunit: SpectralFluxDensity = 1e4 Jy

0 comments on commit be15c72

Please sign in to comment.