IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10785


Ignore:
Timestamp:
Dec 16, 2006, 11:47:30 PM (20 years ago)
Author:
eugene
Message:

new WriteWCS API

Location:
trunk/psastro/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroChipAstrom.c

    r10716 r10785  
    11# include "psastro.h"
     2# define NONLIN_TOL 0.001 /* tolerance in pixels */
    23
    34bool psastroChipAstrom (pmConfig *config, psArray *refs) {
     
    5556                    return false;
    5657                }
    57                 pmAstromWriteWCS (updates, fpa, chip);
     58                pmAstromWriteWCS (updates, fpa, chip, NONLIN_TOL);
    5859                psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.HEADER",  PS_DATA_METADATA, "psastro header stats", updates);
    5960                psFree (updates);
  • trunk/psastro/src/psastroChooseRefstars.c

    r10716 r10785  
    8080                psFree (refstars);
    8181
    82                 psastroRefstarSubset (readout);
     82                // XXX this error means the readout fails, but should probably not kill the entire program
     83                // in this case, no PSASTRO.REFSTARS is added to readout->analysis
     84                if (!psastroRefstarSubset (readout)) {
     85                    psError(PSASTRO_ERR_DATA, false, "Can't determine an appropriate refstar subset\n");
     86                    return false;
     87                }
    8388            }
    8489        }
Note: See TracChangeset for help on using the changeset viewer.