Changeset 27723 for trunk/ippTools/share/difftool_definewarpwarp_select.sql
- Timestamp:
- Apr 21, 2010, 3:47:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/difftool_definewarpwarp_select.sql
r27576 r27723 3 3 inputWarpRun.tess_id AS tess_id, 4 4 inputRawExp.exp_id AS input_exp_id, 5 inputWarpRun.data_group AS input_data_group, 5 6 -- The following trick pulls out the warp_id that has the smallest distance 6 7 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.
