IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2006, 5:59:06 PM (20 years ago)
Author:
eugene
Message:

shutter residual test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppShutter/test/tests.pro

    r8928 r9390  
     1
     2macro shresid
     3  if ($0 != 3)
     4    echo "USAGE shresid (input) (output)"
     5    break
     6  end
     7  rd A $1
     8  extract A a 0 0 2048 2048 0 0 2048 2048
     9  keyword a EXPTIME time
     10  echo "dt: $time"
     11  set t = ($time + dt)
     12  set da = a / t / pattern
     13  stats da - - - -
     14  tv da {$MEDIAN*0.95} {$MEDIAN*0.1}
     15end
    116
    217# make a simple shutter offset map : off = Ax((x-Nx/2)/Nx)^2 + Ay((y-Ny/2)/Ny)^2
     
    3348 set $1 = $1 + noisem*sqrt($1)
    3449 keyword $1 EXPTIME -wf $2
     50end
     51
     52macro mkshutter.pattern
     53 if ($0 != 3)
     54   echo "USAGE: mkshutter.pattern (model) (pattern)"
     55   break
     56 end
     57
     58 set $2 = (20/$Nx)*xramp($1)
    3559end
    3660
Note: See TracChangeset for help on using the changeset viewer.