solver

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct {
	Star   photometry.Star
	Source catalog.Source
}

type Params

type Params struct {
	RA                  float64
	Dec                 float64
	PixelScale          float64
	ExtractionThreshold float64
	Radius              float32
	Sigma               float32
}

type PlateSolver

type PlateSolver struct {
	Catalog    PlateSolverCatalog
	Stars      []photometry.Star
	Sources    []catalog.Source
	RA         float64
	Dec        float64
	PixelScale float64
	Width      int32
	Height     int32
}

func NewPlateSolver

func NewPlateSolver(
	psc PlateSolverCatalog,
	fit *fits.FITSImage,
	params Params,
) (*PlateSolver, error)

func (*PlateSolver) FindSourceMatches

func (ps *PlateSolver) FindSourceMatches(tolerance geometry.InvariantFeatureTolerance) ([]Match, error)

func (*PlateSolver) GenerateSourceAsterisms

func (ps *PlateSolver) GenerateSourceAsterisms() []catalog.SourceAsterism

func (*PlateSolver) GenerateStarAsterisms

func (ps *PlateSolver) GenerateStarAsterisms() []astrometry.Asterism

func (*PlateSolver) MatchAsterismsWithCatalog

func (ps *PlateSolver) MatchAsterismsWithCatalog(
	asterism astrometry.Asterism,
	sourceAsterism catalog.SourceAsterism,
	tolerance geometry.InvariantFeatureTolerance,
) ([]Match, error)

func (*PlateSolver) Solve

func (ps *PlateSolver) Solve(tolerance geometry.InvariantFeatureTolerance, sipOrder int) (*wcs.WCS, error)

type PlateSolverCatalog

type PlateSolverCatalog int
const (
	GAIA PlateSolverCatalog = iota
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL