IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 13, 2017, 10:53:48 AM (9 years ago)
Author:
eugene
Message:

merge EAM development branch changes for DR2 into trunk (add PS1_V6 dvo format; change Mcal to McalPSF, McalAPER; change opihi int vectors to 64bit)

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/libdvo/include/dvodb.h

    r39633 r40291  
    33
    44# define MEASURE_HAS_XCCD 1
     5
     6// Some values used by code moved to libdvo from opihi.
     7enum {OPIHI_NOTYPE, OPIHI_FLT, OPIHI_INT};
     8# define opihi_flt double
     9// # define opihi_int int64_t
     10# define opihi_int long long int
     11# define OPIHI_INT_FMT "%lld"
    512
    613typedef enum {
     
    236243      MEAS_EXTERN_ID,
    237244      MEAS_EXPNAME_AS_INT,
    238       MEAS_MCAL_OFFSET, // make this a dvoMagOption?
     245      MEAS_MCAL_OFFSET_PSF, // make this a dvoMagOption?
     246      MEAS_MCAL_OFFSET_APER, // make this a dvoMagOption?
    239247      MEAS_FLAT,
    240248      MEAS_CENTER_OFFSET,
     
    369377      IMAGE_XM,
    370378      IMAGE_AIRMASS,
    371       IMAGE_MCAL,
     379      IMAGE_MCAL_PSF,
     380      IMAGE_MCAL_APER,
    372381      IMAGE_dMCAL,
    373382      IMAGE_PHOTCODE,
     
    471480  char    type;
    472481  int     field;
    473   // opihi_flt FltValue;
    474   // opihi_int IntValue;
    475   double FltValue;
    476   int IntValue;
     482  opihi_flt FltValue;
     483  opihi_int IntValue;
     484  // double FltValue;
     485  // int IntValue;
    477486} dbStack;
    478487
    479488typedef struct {
    480   // opihi_flt Flt;
    481   // opihi_int Int;
    482   double Flt;
    483   int Int;
     489  opihi_flt Flt;
     490  opihi_int Int;
     491  // double Flt;
     492  // int Int;
    484493} dbValue;
    485494
     
    562571int dbExtractImagesReset (void);
    563572
    564 // Some values used by code moved to libdvo from opihi.
    565 enum {OPIHI_NOTYPE, OPIHI_FLT, OPIHI_INT};
    566 #define opihi_flt double
    567 #define opihi_int int
    568 
    569573#include "get_graphdata.h"
    570574
Note: See TracChangeset for help on using the changeset viewer.