File: pquad.h

package info (click to toggle)
astrometry.net 0.93%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,372 kB
  • sloc: ansic: 163,192; python: 18,357; makefile: 1,522; sh: 138; cpp: 78; pascal: 67; awk: 56; perl: 9
file content (28 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/

#ifndef PQUAD_H
#define PQUAD_H

/**
 This file is just required for testing purposes (of solver.c)
 */

struct potential_quad
{
	anbool scale_ok;
	int fieldA, fieldB;
	// distance-squared between A and B, in pixels^2.
	double scale;
	double costheta, sintheta;
	// (field pixel noise / quad scale in pixels)^2
	double rel_field_noise2;
	anbool* inbox;
	int ninbox;
	double* xy;
};
typedef struct potential_quad pquad;

#endif