Skip to content

Releases: observerly/astrometry

v0.51.0

08 Aug 17:06
2f7f710
Compare
Choose a tag to compare

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

07 Aug 09:19
52fddea
Compare
Choose a tag to compare

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

Full Changelog: v0.49.0...v0.50.0

v0.49.0

06 Aug 14:40
dfc0e9d
Compare
Choose a tag to compare

What's Changed

🔭 This minor release adds all constellations in the range [M-R].

Constellations

Full Changelog: v0.48.0...v0.49.0

v0.48.0

05 Aug 14:58
71793e2
Compare
Choose a tag to compare

What's Changed

🔭 This minor release adds all constellations in the range [D-L].

Constellations

Full Changelog: v0.47.0...v0.48.0

v0.47.0

03 Aug 19:16
9d70a0f
Compare
Choose a tag to compare

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

30 Jul 10:07
ca6e69a
Compare
Choose a tag to compare

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

25 Jul 14:56
aaaf187
Compare
Choose a tag to compare

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

Full Changelog: v0.44.0...v0.45.0

v0.44.0

24 Jul 16:11
7f968ca
Compare
Choose a tag to compare

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

23 Jul 19:13
4152bb2
Compare
Choose a tag to compare

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

21 Jul 16:20
f241529
Compare
Choose a tag to compare

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