File: tdis3

package info (click to toggle)
wcslib 5.16-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,488 kB
  • ctags: 15,924
  • sloc: ansic: 30,968; lex: 7,902; fortran: 6,608; sh: 3,572; sed: 447; pascal: 153; makefile: 12
file content (61 lines) | stat: -rw-r--r-- 1,007 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/sh

  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:.
  export LD_LIBRARY_PATH

  echo "Testing WCSLIB's handling of translated distortions (tdis3)"
  echo "-----------------------------------------------------------"

  echo "Each of the 10 SIPTPV alternates should produce the same results."

  for i in 0 1 2 3 4 5 6 7 8 9
  do
    echo
    echo
    echo "Using SIPTPV alternate $i:"
    echo "-------------------------"
    ../utils/wcsware -a$i -x SIPTPV.fits << EOT
   1,   1
2048,   1
2048,4096
   1,4096
EOT
  done


  echo
  echo
  echo "Using DSS alternate 0:"
  echo "----------------------"
  ../utils/wcsware -a0 -x DSS.fits << EOT
  1,   1
891,   1
891, 893
  1, 893
EOT


  echo
  echo
  echo "Using TNX alternate 0:"
  echo "----------------------"
  ../utils/wcsware -a0 -x TNX.fits << EOT
  1,   1
400,   1
400, 400
  1, 400
EOT


  echo
  echo
  echo "Using ZPX alternate 0:"
  echo "----------------------"
  ../utils/wcsware -a0 -x ZPX.fits << EOT
  1,   1
512,   1
512, 512
  1, 512
EOT