Changeset 93
- Timestamp:
- Jul 23, 2003, 3:36:31 PM (23 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/imregister/photreg/output.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/imregister/photreg/output.c
r90 r93 96 96 fits_define_table_column (&theader, "A12", "C1_NAME", "filter 1 for color", ""); 97 97 fits_define_table_column (&theader, "A12", "C2_NAME", "filter 2 for color", ""); 98 fits_define_table_column (&theader, "I6", "NSTARS", "number of stars used", ""); 99 fits_define_table_column (&theader, "I6", "NTIMES", "number of unique images", ""); 98 100 fits_define_table_column (&theader, "A12", "FILTER", "filter", ""); 99 101 fits_define_table_column (&theader, "A70", "LABEL", "data label", ""); … … 109 111 fits_modify (&theader, "TNULL8", "%s", 1, "NULL"); /* C1_NAME */ 110 112 fits_modify (&theader, "TNULL9", "%s", 1, "NULL"); /* C2_NAME */ 111 fits_modify (&theader, "TNULL10", "%s", 1, "NULL"); /* FILTER */ 112 fits_modify (&theader, "TNULL11", "%s", 1, "NULL"); /* LABEL */ 113 fits_modify (&theader, "TNULL10", "%s", 1, "NULL"); /* NSTARS */ 114 fits_modify (&theader, "TNULL11", "%s", 1, "NULL"); /* NTIMES */ 115 fits_modify (&theader, "TNULL12", "%s", 1, "NULL"); /* FILTER */ 116 fits_modify (&theader, "TNULL13", "%s", 1, "NULL"); /* LABEL */ 113 117 114 118 fits_modify (&theader, "TNVAL1", "%s", 1, "Inf"); /* ZP_OBS */ … … 121 125 fits_modify (&theader, "TNVAL8", "%s", 1, "NA"); /* C1_NAME */ 122 126 fits_modify (&theader, "TNVAL9", "%s", 1, "NA"); /* C2_NAME */ 123 fits_modify (&theader, "TNVAL10", "%s", 1, "NA"); /* FILTER */ 124 fits_modify (&theader, "TNVAL11", "%s", 1, "NA"); /* LABEL */ 127 fits_modify (&theader, "TNVAL10", "%s", 1, "NA"); /* NSTARS */ 128 fits_modify (&theader, "TNVAL11", "%s", 1, "NA"); /* NTIMES */ 129 fits_modify (&theader, "TNVAL12", "%s", 1, "NA"); /* FILTER */ 130 fits_modify (&theader, "TNVAL13", "%s", 1, "NA"); /* LABEL */ 125 131 126 132 /* create table, add data values */ … … 141 147 line = fits_table_print (&table, newdata[0].ZP, newdata[0].ZPo, newdata[0].dZP, 142 148 newdata[0].K, newdata[0].X, startstr, stopstr, 143 c1, c2, code, newdata[0].label);149 c1, c2, newdata[0].Nmeas, newdata[0].Ntime, code, newdata[0].label); 144 150 if (!fits_add_rows (&table, line, 1, strlen(line))) escape (IGNORE, (FILE *) NULL, (char *) NULL, NULL, "error writing dataline"); 145 151
Note:
See TracChangeset
for help on using the changeset viewer.
