IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34192


Ignore:
Timestamp:
Jul 20, 2012, 5:06:41 PM (14 years ago)
Author:
eugene
Message:

add a note on the PS1_SV1 vs PS1_SV1_Alt business; fix comments for KronInner and KronOuter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120627/psModules/src/objects/pmSourceIO_CMF.c.in

    r34185 r34192  
    179179        @>PS1_V2,PS1_SV1,PS1_DV2@ psMetadataAdd (row, PS_LIST_TAIL, "KRON_FLUX",        PS_DATA_F32, "Kron Flux (in 2.5 R1)",                      moments.Krf);
    180180        @>PS1_V2,PS1_SV1,PS1_DV2@ psMetadataAdd (row, PS_LIST_TAIL, "KRON_FLUX_ERR",    PS_DATA_F32, "Kron Flux Error",                            moments.dKrf);
    181         @>PS1_V2,PS1_SV1,PS1_DV2@ psMetadataAdd (row, PS_LIST_TAIL, "KRON_FLUX_INNER",  PS_DATA_F32, "Kron Flux (in 2.5 R1)",                      moments.Kinner);
    182         @>PS1_V2,PS1_SV1,PS1_DV2@ psMetadataAdd (row, PS_LIST_TAIL, "KRON_FLUX_OUTER",  PS_DATA_F32, "Kron Flux (in 2.5 R1)",                      moments.Kouter);
     181        @>PS1_V2,PS1_SV1,PS1_DV2@ psMetadataAdd (row, PS_LIST_TAIL, "KRON_FLUX_INNER",  PS_DATA_F32, "Kron Flux (in 1.0 R1)",                      moments.Kinner);
     182        @>PS1_V2,PS1_SV1,PS1_DV2@ psMetadataAdd (row, PS_LIST_TAIL, "KRON_FLUX_OUTER",  PS_DATA_F32, "Kron Flux (in 4.0 R1)",                      moments.Kouter);
    183183
    184184        @>PS1_V3@                 psMetadataAdd (row, PS_LIST_TAIL, "SKY_LIMIT_RAD",    PS_DATA_F32, "Radius where object hits sky",               source->skyRadius);
     
    200200        @>PS1_V2,PS1_SV1,PS1_DV2@ psMetadataAdd (row, PS_LIST_TAIL, "FLAGS2",           PS_DATA_U32, "psphot analysis flags",                      source->mode2);
    201201        @>PS1_V2@                 psMetadataAdd (row, PS_LIST_TAIL, "PADDING2",         PS_DATA_S32, "more padding", 0);
    202         @PS1_SV1@ // XXX do I need PADDING2 or not?
    203 
    204         // XXX not sure how to get this : need to load Nimages with weight?
     202        @PS1_SV1@
     203
     204          // note that this definition is inconsistent with the definition in
     205          // Ohana/src/libautocode/def.  This version creates a table with data not
     206          // properly aligned with the 8-byte boundaries. The structure defined by
     207          // libautocode does this, but has a different order of elements (and adds
     208          // padding2 to fix things). We have generated may files with PS1_SV1 as is, so
     209          // I'll leave it. But in future a PS1_SV2 should be forced to match
     210          // libautocode. Note that addstar knows to detect the alternate version of
     211          // PS1_SV1 and correctly interpret its fields.
     212
    205213        @ALL@                     psMetadataAdd (row, PS_LIST_TAIL, "N_FRAMES",         PS_DATA_U16, "Number of frames overlapping source center", source->nFrames);
    206214        @ALL@                     psMetadataAdd (row, PS_LIST_TAIL, "PADDING",          PS_DATA_S16, "padding", 0);
Note: See TracChangeset for help on using the changeset viewer.