diff options
| author | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
| commit | cd2dad3bc7ae0ee0a18b7b20a945009362ec3851 (patch) | |
| tree | 5a622ec4193e9bc899f6499f936848a661be29cb /qmap/libqmap/getdphi.f90 | |
| parent | 558c0b9d6ecf70c5222e2069ece1fea3656c75d7 (diff) | |
| parent | 291b3817bf0c7a742e9e17d42c94fc8c9530e40d (diff) | |
Merge branch 'debian/latest' into debian/trixie-backports
Diffstat (limited to 'qmap/libqmap/getdphi.f90')
| -rw-r--r--[-rwxr-xr-x] | qmap/libqmap/getdphi.f90 | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/qmap/libqmap/getdphi.f90 b/qmap/libqmap/getdphi.f90 index f44c2d06..e55d7120 100755..100644 --- a/qmap/libqmap/getdphi.f90 +++ b/qmap/libqmap/getdphi.f90 @@ -1,18 +1,18 @@ -subroutine getdphi(qphi)
-
- real qphi(12)
-
- s=0.
- c=0.
- do i=1,12
- th=i*30/57.2957795
- s=s+qphi(i)*sin(th)
- c=c+qphi(i)*cos(th)
- enddo
-
- dphi=57.2957795*atan2(s,c)
- write(*,1010) nint(dphi)
-1010 format('!Best-fit Dphi =',i4,' deg')
-
- return
- end
+subroutine getdphi(qphi) + + real qphi(12) + + s=0. + c=0. + do i=1,12 + th=i*30/57.2957795 + s=s+qphi(i)*sin(th) + c=c+qphi(i)*cos(th) + enddo + + dphi=57.2957795*atan2(s,c) + write(*,1010) nint(dphi) +1010 format('!Best-fit Dphi =',i4,' deg') + + return + end |
