Releases: observerly/astrometry
v0.51.0
What's Changed
Breaking Changes
- feat!: amend constellations in constellation module in @observerly/astrometry by @michealroberts in #363
Fixes
- fix: amend Antila typo in constellations module in @observerly/astrometry by @michealroberts in #362
Full Changelog: v0.50.0...v0.51.0
v0.50.0
What's Changed
🔭 This minor release adds all constellations in the range [S-Z]. This release now includes the full set of 88 constellations (technically 89, with Serpens Cauda and Serpens Caput).
Constellations
- feat: add Sagitta constellation module in @observerly/astrometry by @michealroberts in #344
- feat: add Sagittarius constellation module in @observerly/astrometry by @michealroberts in #345
- feat: add Scorpius constellation module in @observerly/astrometry by @michealroberts in #346
- feat: add Sculptor constellation module in @observerly/astrometry by @michealroberts in #347
- feat: add Scutum constellation module in @observerly/astrometry by @michealroberts in #348
- feat: add Serpens constellations module in @observerly/astrometry by @michealroberts in #349
- feat: add Sextans constellation module in @observerly/astrometry by @michealroberts in #350
- feat: add Taurus constellation module in @observerly/astrometry by @michealroberts in #351
- feat: add Telescopium constellation module in @observerly/astrometry by @michealroberts in #352
- feat: add Triangulum constellation module in @observerly/astrometry by @michealroberts in #353
- feat: add Triangulum Australae constellation module in @observerly/astrometry by @michealroberts in #354
- feat: add Tucana constellation module in @observerly/astrometry by @michealroberts in #355
- feat: add Ursa Major constellation module in @observerly/astrometry by @michealroberts in #356
- feat: add Ursa Minor constellation module in @observerly/astrometry by @michealroberts in #357
- feat: add Vela constellation module in @observerly/astrometry by @michealroberts in #358
- feat: add Virgo constellation module in @observerly/astrometry by @michealroberts in #359
- feat: add Volans constellation module in @observerly/astrometry by @michealroberts in #360
- feat: add Vulpecula constellation module in @observerly/astrometry by @michealroberts in #361
Full Changelog: v0.49.0...v0.50.0
v0.49.0
What's Changed
🔭 This minor release adds all constellations in the range [M-R].
Constellations
- feat: add Mensa constellation module in @observerly/astrometry by @michealroberts in #326
- feat: add Microscopium constellation module in @observerly/astrometry by @michealroberts in #327
- feat: add Monoceros constellation module in @observerly/astrometry by @michealroberts in #328
- feat: add Musca constellation module in @observerly/astrometry by @michealroberts in #329
- feat: add Norma constellation module in @observerly/astrometry by @michealroberts in #330
- feat: add Octans constellation module in @observerly/astrometry by @michealroberts in #331
- feat: add Ophiuchus constellation module in @observerly/astrometry by @michealroberts in #332
- feat: add Orion constellation module in @observerly/astrometry by @michealroberts in #333
- feat: add Pavo constellation module in @observerly/astrometry by @michealroberts in #334
- feat: add Pegasus constellation module in @observerly/astrometry by @michealroberts in #335
- feat: add Perseus constellation module in @observerly/astrometry by @michealroberts in #336
- feat: add Phoenix constellation module in @observerly/astrometry by @michealroberts in #337
- feat: add Pictor constellation module in @observerly/astrometry by @michealroberts in #338
- feat: add Pisces constellation module in @observerly/astrometry by @michealroberts in #339
- feat: add Piscis Austrinus constellation module in @observerly/astrometry by @michealroberts in #340
- feat: add Puppis constellation module in @observerly/astrometry by @michealroberts in #341
- feat: add Pyxis constellation module in @observerly/astrometry by @michealroberts in #342
- feat: add Reticulum constellation module in @observerly/astrometry by @michealroberts in #343
Full Changelog: v0.48.0...v0.49.0
v0.48.0
What's Changed
🔭 This minor release adds all constellations in the range [D-L].
Constellations
- feat: add Delphinus constellation module in @observerly/astrometry by @michealroberts in #304
- feat: add Dorado constellation module in @observerly/astrometry by @michealroberts in #305
- feat: add Draco constellation module in @observerly/astrometry by @michealroberts in #306
- feat: add Equuleus constellation module in @observerly/astrometry by @michealroberts in #307
- feat: add Eridanus constellation module in @observerly/astrometry by @michealroberts in #308
- feat: add Fornax constellation module in @observerly/astrometry by @michealroberts in #309
- feat: add Gemini constellation module in @observerly/astrometry by @michealroberts in #310
- feat: add Grus constellation module in @observerly/astrometry by @michealroberts in #311
- feat: add Hercules constellation module in @observerly/astrometry by @michealroberts in #312
- feat: add Horologium constellation module in @observerly/astrometry by @michealroberts in #313
- feat: add Hydra constellation module in @observerly/astrometry by @michealroberts in #314
- feat: add Hydrus constellation module in @observerly/astrometry by @michealroberts in #315
- feat: add Indus constellation module in @observerly/astrometry by @michealroberts in #316
- feat: add Lacerta constellation module in @observerly/astrometry by @michealroberts in #317
- feat: add Leo constellation module in @observerly/astrometry by @michealroberts in #318
- feat: add Leo Minor constellation module in @observerly/astrometry by @michealroberts in #319
- feat: add Lepus constellation module in @observerly/astrometry by @michealroberts in #320
- feat: add Libra constellation module in @observerly/astrometry by @michealroberts in #321
- feat: add Lupus constellation module in @observerly/astrometry by @michealroberts in #322
- feat: add Lynx constellation module in @observerly/astrometry by @michealroberts in #323
- feat: add Lyra constellation module in @observerly/astrometry by @michealroberts in #324
Full Changelog: v0.47.0...v0.48.0
v0.47.0
What's Changed
🔭 This release introduces the getQIndex()
function, which in turn calculates a Q index for your observation for a particular moment in time.
There also includes a fix which accounts for the boundary condition in convertEquatorialToHorizontal
when calculating the arcsine value, which has boundaries between [-1,1].
This release also includes the first batch of Constellations, however, the full set will follow in future versions.
Features
- feat: add getQIndex() utility to q module in @observerly/astrometry by @michealroberts in #264
- feat: add findConjunction() utility to conjunction module in @observerly/astrometry by @michealroberts in #299
Constellations
- feat: add maths module to @observerly/astrometry by @michealroberts in #265
- feat: add interpolate() utility to maths module in @observerly/astrometry by @michealroberts in #266
- feat: add interpolateRank2DArray() utility to maths module in @observerly/astrometry by @michealroberts in #267
- feat: add createConstellationAsGeoJSON() to constellations module in @observerly/astrometry by @michealroberts in #268
- feat: add Andromeda to constellation module in @observerly/astrometry by @michealroberts in #269
- feat: add Antila to constellation module in @observerly/astrometry by @michealroberts in #270
- feat: add Apus to constellation module in @observerly/astrometry by @michealroberts in #271
- feat: add Aquarius to constellation module in @observerly/astrometry by @michealroberts in #272
- feat: add Aquila to constellation module in @observerly/astrometry by @michealroberts in #273
- feat: add Ara to constellation module in @observerly/astrometry by @michealroberts in #274
- feat: add Aries to constellation module in @observerly/astrometry by @michealroberts in #275
- feat: add Auriga to constellation module in @observerly/astrometry by @michealroberts in #276
- feat: add Bootes to constellation module in @observerly/astrometry by @michealroberts in #277
- feat: add Caelum to constellation module in @observerly/astrometry by @michealroberts in #278
- feat: add Camelopardalis to constellation module in @observerly/astrometry by @michealroberts in #279
- feat: add Cancer to constellation module in @observerly/astrometry by @michealroberts in #280
- feat: add Canes Venatici to constellation module in @observerly/astrometry by @michealroberts in #281
- feat: add Canis Major to constellation module in @observerly/astrometry by @michealroberts in #282
- feat: add Canis Minor to constellation module in @observerly/astrometry by @michealroberts in #283
- feat: add Capricornus to constellation module in @observerly/astrometry by @michealroberts in #284
- feat: add Carina to constellation module in @observerly/astrometry by @michealroberts in #285
- feat: add Cassiopeia to constellation module in @observerly/astrometry by @michealroberts in #287
- feat: add Centaurus to constellation module in @observerly/astrometry by @michealroberts in #288
- feat: add Cepheus to constellation module in @observerly/astrometry by @michealroberts in #289
- feat: add Cetus to constellation module in @observerly/astrometry by @michealroberts in #290
- feat: add Chamaeleon to constellation module in @observerly/astrometry by @michealroberts in #291
- feat: add Circinus to constellation module in @observerly/astrometry by @michealroberts in #292
- feat: add Columba to constellation module in @observerly/astrometry by @michealroberts in #293
- feat: add Coma Berenices to constellation module in @observerly/astrometry by @michealroberts in #294
- feat: add Corona Australis to constellation module in @observerly/astrometry by @michealroberts in #295
- feat: add Corona Borealis to constellation module in @observerly/astrometry by @michealroberts in #296
- feat: add Corvus to constellation module in @observerly/astrometry by @michealroberts in #297
- feat: add Crater to constellation module in @observerly/astrometry by @michealroberts in #298
- feat: add Crux to constellation module in @observerly/astrometry by @michealroberts in #301
- feat: add Cygnus constellation module in @observerly/astrometry by @michealroberts in #302
Refactor
- refactor!: amend q() utility to calculate Lunar altitude in @observerly/astrometry by @michealroberts in #300
Fixes
- fix: account for arcsine trigonometric boundaries for convertEquatorialToHorizontal in @observerly/astrometry by @michealroberts in #303
Full Changelog: v0.46.0...v0.47.0
v0.46.0
What's Changed
🔭 This module adds a useful q()
utility parameter, which is a normalised quality index of an observation, taking into account the Moon's illumination, the angular separation between the target object and the Moon, the Sun's altitude (taking into account astronomical twilight starting at -18 degrees below the local horizon) and the target's altitude (assuming a horizon of +6 degrees for enhanced observations).
In subsequent releases, we will be exposing a function that can calculate the q
based of off an observer's location, a target object and a particular datetime of observation.
Features
- feat: add q() utility to calculate the quality index in @observerly/astrometry by @michealroberts in #263
- feat: add getAntipodeCoordinate() to astrometry module in @observerly/astrometry by @michealroberts in #261
Refactors
- refactor: amend getLunarAngularDiameter() utility in moon module in @observerly/astrometry by @michealroberts in #257
Fixes
- fix: amend lunar Δ (in AU) calculation getLunarAngularDiameter() in moon module in @observerly/astrometry by @michealroberts in #258
Validity & Testing
- test: add suite for antipodal tests for getAngularSeparation() in @observerly/astrometry by @michealroberts in #259
Full Changelog: v0.45.0...v0.46.0
v0.45.0
What's Changed
🔭 This release introduces the possible to calculate if for a given location on Earth, at a specific time, there will either be a Solar or Lunar eclipse.
The API is exposed as isSolarEclipse()
and isLunarEclipse()
, (both take in the same parameter arguments) e.g.,:
import { isSolarEclipse } from '@observerly/astrometry'
// Give me an observer that is based in Truro, Cornwall, UK
const observer = {
latitude: 50.2632,
longitude: -5.051,
elevation: 0
}
const datetime = new Date('1999-08-11T11:04:00Z')
const eclipse = isSolarEclipse(datetime, observer)
console.log('11th August 1999', eclipse)
11th August 1999 {
k: -5,
JD: 2451401.9613755625,
type: 'total',
isCentral: true,
maximum: 1999-08-11T11:04:22.848Z,
magnitude: 1.0139097183206915,
alt: 51.8161625251939,
az: 147.15517329772132,
ra: 140.91260868409128,
dec: 15.809473632815184,
F: 7.358285775281047,
'Ω': 132.5933794317036,
'γ': 0.5066040940101156,
u: -0.0037459435675944045
}
Features
- feat: add getLunarEclipse() utility to @observerly/astrometry by @michealroberts in #255
- feat: add getSolarEclipse() utility to @observerly/astrometry by @michealroberts in #252
- feat: add isLunarEclipse() to eclipse module in @observerly/astrometry by @michealroberts in #256
- feat: add isSolarEclipse() to eclipse module in @observerly/astrometry by @michealroberts in #253
Full Changelog: v0.44.0...v0.45.0
v0.44.0
What's Changed
🌃 This minor release introduces the twilight module, providing the getTwilightBandsForDay()
utility which constructs Twilight Bands for UTC midnight to midnight, e.g.,:
[
{
name: 'Night',
interval: { from: 2021-05-15T00:00:00.000Z, to: 2021-05-15T04:02:47.000Z }
},
{
name: 'Astronomical',
interval: { from: 2021-05-15T04:02:47.000Z, to: 2021-05-15T04:31:23.000Z }
},
{
name: 'Nautical',
interval: { from: 2021-05-15T04:31:23.000Z, to: 2021-05-15T04:59:16.000Z }
},
{
name: 'Civil',
interval: { from: 2021-05-15T04:59:16.000Z, to: 2021-05-15T05:26:39.000Z }
},
{
name: 'Day',
interval: { from: 2021-05-15T05:26:39.000Z, to: 2021-05-15T18:23:21.000Z }
},
{
name: 'Civil',
interval: { from: 2021-05-15T18:23:21.000Z, to: 2021-05-15T18:50:46.000Z }
},
{
name: 'Nautical',
interval: { from: 2021-05-15T18:50:46.000Z, to: 2021-05-15T19:18:42.000Z }
},
{
name: 'Astronomical',
interval: { from: 2021-05-15T19:18:42.000Z, to: 2021-05-15T19:47:22.000Z }
},
{
name: 'Night',
interval: { from: 2021-05-15T19:47:22.000Z, to: 2021-05-16T00:00:00.000Z }
}
]
Features
- feat: add twilight module to @observerly/astronometry by @michealroberts in #247
- feat: add Twilight enum to twilight module in @observerly/astrometry by @michealroberts in #248
- feat: add getWhatTwilight() utility to twilight module in @observerly/astrometry by @michealroberts in #249
- feat: add getTwilightBandsForDay() to twilight module in @observerly/astrometry by @michealroberts in #250
Chores
- chore: bump vitest & @vitest/converage-v8 => v2.0.4 across workspace in @observerly/astrometry by @michealroberts in #246
Full Changelog: v0.43.0...v0.44.0
v0.43.0
What's Changed
🔭 This minor release introduces the functionality that can be used to calculate an eclipse.
Features
- feat: add Eclipse type to eclipse module in @observerly/astrometry by @michealroberts in #236
- feat: add convertJulianDateToUTC() to temporal module in @observerly/astronomy by @michealroberts in #237
- feat: add getCoefficientOfEccentricity() to earth module in @observerly/astrometry by @michealroberts in #240
- feat: add getSolarAngularDiameter() to sun module in @observerly/astrometry by @michealroberts in #243
- feat: add isConjunction() utility to conjunction module in @observerly/astrometry by @michealroberts in #241
Reactors
- refactor!: amend Conjunction type to include Target type in conjunction module in @observerly/astrometry by @michealroberts in #235
- refactor: add AnnularTotal to EclipseType enum in eclipse module in @observerly/astrometry by @michealroberts in #244
- refactor: add { magnitude, isCentral } to Eclipse type in eclipse module in @observerly/astrometry by @michealroberts in #245
Full Changelog: v0.42.0...v0.43.0
v0.42.0
What's Changed
🔭 This minor release adds the findPlanetaryConjunctions()
utility, to calculate when two planetary bodies are in conjunction with each other, e.g., Jupiter and Venus. This paves the way for solutions to be found for #229 and further conjunction analysis across a number of bright and visible-with-the-naked-eye objects.
This release also amends the ConjunctionParams
type in a non backwards-compatible way.
This release also ensures that the new Moon phase is calculate to a higher degree of accuracy.
Features
- feat: add getPlanetaryPositions() utility helper to planets module in @observerly/astrometry by @michealroberts in #225
- feat: add findPlanetaryConjunctions() to conjunction module in @observerly/astrometry by @michealroberts in #228
- feat: add getNextNewMoon() to moon module in @observerly/astrometry by @michealroberts in #234
Refactors
- refactor: amend getLunarPhase() { age } lookup for WaningCrescent in @observerly/astrometry by @michealroberts in #233
- refactor!: amend usage for "ConjunctionParams" in conjunction module in @observerly/astrometry by @michealroberts in #224
Full Changelog: v0.41.0...v0.42.0