| 11 |
|
*/ |
| 12 |
|
|
| 13 |
|
#include <stdio.h> |
| 14 |
+ |
#include <math.h> |
| 15 |
|
#include <ctype.h> |
| 16 |
|
#include "color.h" |
| 17 |
|
#include "paths.h" |
| 564 |
|
else if (pmtype == PM_B) |
| 565 |
|
fprintf(out, "5 "); |
| 566 |
|
else if (FEQ(bounds[1][0],90.) && FEQ(bounds[1][1],270.)) |
| 567 |
< |
fprintf(out, "8 "); |
| 567 |
> |
fprintf(out, "7 "); |
| 568 |
|
else |
| 569 |
< |
fprintf(out, "6 "); |
| 569 |
> |
fprintf(out, "5 "); |
| 570 |
|
fprintf(out, "%s %s source.cal ", |
| 571 |
|
srcshape.type==SPHERE ? "corr" : "flatcorr", |
| 572 |
|
libname(buf,name,T_DST)); |
| 585 |
|
fprintf(out, "src_phi2 "); |
| 586 |
|
else |
| 587 |
|
fprintf(out, "src_phi "); |
| 588 |
< |
fprintf(out, "src_theta -my "); |
| 588 |
> |
fprintf(out, "src_theta "); |
| 589 |
|
if (FEQ(bounds[1][0],90.) && FEQ(bounds[1][1],270.)) |
| 590 |
|
fprintf(out, "-rz -90 "); |
| 591 |
|
} else |