Skip to content

Commit

Permalink
Merge pull request #401 from observerly/feature/wcs/SIP2DParameters
Browse files Browse the repository at this point in the history
feat: add SIP2DParameters type to wcs module in @observerly/astrometry
  • Loading branch information
michealroberts authored Nov 12, 2024
2 parents 0046946 + 889e7da commit 10c91f1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/wcs.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
/*****************************************************************************************************************/

// @author Michael Roberts <[email protected]>
// @package @observerly/astrometry/vsop87
// @license Copyright © 2021-2023 observerly
// @package @observerly/astrometry/wcs
// @license Copyright © 2021-2025 observerly

/*****************************************************************************************************************/

export type {}
/*****************************************************************************************************************/

// SIP (Simple Imaging Polynomial) is a convention used in FITS (Flexible Image Transport System)
// headers to describe complex distortions in astronomical images. It extends the standard World
// Coordinate System (WCS) by introducing higher-order polynomial terms that account for non-linear
// optical distortions, such as those introduced by telescope optics or atmospheric effects.
// @see https://fits.gsfc.nasa.gov/registry/sip/SIP_distortion_v1_0.pdf
export type SIP2DParameters = {
AOrder: number
APower: { [key: string]: number }
BOrder: number
BPower: { [key: string]: number }
}


/*****************************************************************************************************************/
Empty file added tests/wcs.spec.ts
Empty file.

0 comments on commit 10c91f1

Please sign in to comment.