Changeset 3401 for trunk/Ohana/src/mosastro/include/mosastro.h
- Timestamp:
- Mar 9, 2005, 9:22:34 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/mosastro/include/mosastro.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/mosastro/include/mosastro.h
r3323 r3401 96 96 char *FOCAL_PLANE; 97 97 98 CatStats *gregions (CatStats *patch, int *nregion); 99 Gradients *GetGradients (); 100 Header *mkheader (int Nx, int Ny, int Nstars, Coords *coords); 101 Header *mkmosaic (int Nx, int Ny, int Nstars, Coords *coords); 98 102 StarData *getusno (CatStats *catstats, int *Nstars); 99 103 StarData *getgsc (CatStats *catstats, int *NSTARS); 100 104 StarData *get2mass (CatStats *catstats, int *NSTARS); 101 105 StarData *getptolemy (CatStats *catstats, int *NSTARS); 102 void GetConfig (char *config, char *field, char *format, int N, void *ptr);103 106 StarData *greference (int *Nrefcat); 104 105 Header *mkheader (int Nx, int Ny, int Nstars, Coords *coords);106 107 107 StarData *gcatalog (char *filename, int *Nstars); 108 109 CatStats *gregions (CatStats *patch, int *nregion);108 StarData *gptolemy (char *filename, int *NSTARS); 109 double GetScatter (); 110 110 int find_dec_bands (CatStats *area); 111 111 int load_ra_blocks (int Ndec, CatStats *area); 112 112 int parse_GSC_line (CatStats *tregion, char *line); 113 int fake_field (double RA, double DEC); 114 int LoadStars (int Nfile, char **file); 115 int project_refcat (StarData *refcat, int Nrefcat); 116 int deproject_stars (); 117 int project_stars (); 118 int deproject_raw (); 119 int project_ref (); 120 int init_field (); 121 int load_field (char *filename); 122 int init_chips (); 123 int load_chips (char *filename); 124 int dump_stars (FILE *f, StarData *stars, int Nstars); 125 int dump_grads (Gradients *grad, char *filename); 126 int dump_match (); 127 int dump_rawstars (); 128 int dump_refcat (StarData *refcat, int Nrefcat); 129 int match (StarData *refcat, int Nrefcat); 130 int mkvector (int n, int m, int norder); 131 int ClipOnFP (double Nsigma); 132 void GetConfig (char *config, char *field, char *format, int N, void *ptr); 113 133 void init_regions (); 114 134 void add_to_regions (CatStats *area); 115 135 void area_of_region (CatStats *region); 116 136 void set_catalog (char *catdir); 117 118 StarData *gptolemy (char *filename, int *NSTARS);119 int fake_field (double RA, double DEC);120 Gradients *GetGradients ();121 void FitChips (int Norder);122 137 void FitChipLinear (StarData *raw, StarData *ref, int Nmatch, Coords *coords); 123 138 void FitChipResid (StarData *raw, StarData *ref, int Nmatch, Coords *coords); 124 double GetScatter (); 125 Header *mkmosaic (int Nx, int Ny, int Nstars, Coords *coords); 139 void ConfigInit (int *argc, char **argv); 140 void print_help (); 141 void args (int *argc, char **argv); 142 void field_stats (); 143 void field_combine (); 144 void fit_apply_grads (Coords *distort, Coords *project, int term); 145 void fit_apply_coords (Coords *coords); 146 void fit_eval (); 147 void fit_add (double x1, double y1, double x2, double y2); 148 void fit_init (int order); 149 void fit_correct_grads (Gradients *in, Gradients *out, int term); 150 void fit_free (); 151 void output (char *ext, char *phu); 152 void FitGradients (Gradients *grad); 153 void uppercase (char *string); 154 e_time parse_time (Header *header); 155 int sortthree (double *X, double *Y, int *Z, int N); 156 StarData *getstone (CatStats *input, int *nstars); 157 void ChipToSky (StarData *stars, int Nstars, Coords *coords); 158 void ChipToFP (StarData *stars, int Nstars, Coords *coords); 159 void FPtoTP (StarData *stars, int Nstars, Coords *coords); 160 void TPtoSky (StarData *stars, int Nstars, Coords *coords); 161 void SkyToTP (StarData *stars, int Nstars, Coords *coords); 162 void TPtoFP (StarData *stars, int Nstars, Coords *coords); 163 void FPtoChip (StarData *stars, int Nstars, Coords *coords); 164 int gaussj (double **a, int n, double **b, int m); 165 void FitChips (int Norder); 166 void FitChip (StarData *raw, StarData *ref, int Nmatch, Coords *coords); 167 int mkpolyterm (int n, int m); 168 void wchip (char *filename, Chip *data); 169 void wstars (char *filename, Stars *stars, int Nstars, Header *header);
Note:
See TracChangeset
for help on using the changeset viewer.
