IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2010, 3:47:06 PM (16 years ago)
Author:
watersc1
Message:

Have difference images inherit the data_group of the warp that went into them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/difftool_definewarpwarp_select.sql

    r27576 r27723  
    33    inputWarpRun.tess_id AS tess_id,
    44    inputRawExp.exp_id AS input_exp_id,
     5    inputWarpRun.data_group AS input_data_group,
    56    -- The following trick pulls out the warp_id that has the smallest distance
    67    SUBSTRING_INDEX(GROUP_CONCAT(templateWarpRun.warp_id ORDER BY ABS(ASIN(SQRT(POW(SIN(0.5*(inputRawExp.decl - templateRawExp.decl)),2) + COS(inputRawExp.decl) * COS(templateRawExp.decl) * POW(SIN(0.5*(inputRawExp.ra - templateRawExp.ra)),2))))), ',', 1) AS template_warp_id
Note: See TracChangeset for help on using the changeset viewer.