diff options
| author | tony mancill <tmancill@debian.org> | 2024-01-01 11:39:50 -0800 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2024-01-01 11:39:50 -0800 |
| commit | ffea9660ba79a513401639a2f5d90e2fdc190fb8 (patch) | |
| tree | 4e1abd6eca581d5baec48b86e213ae31138bcf5e /lib/fst4_decode.f90 | |
| parent | 393a486ee1d7e308a49f8e0b8c3a4b2f43223248 (diff) | |
New upstream version 2.7.0~rc3+repackupstream/2.7.0_rc3+repack
Diffstat (limited to 'lib/fst4_decode.f90')
| -rwxr-xr-x | lib/fst4_decode.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fst4_decode.f90 b/lib/fst4_decode.f90 index 2db64e27..f2ccd2da 100755 --- a/lib/fst4_decode.f90 +++ b/lib/fst4_decode.f90 @@ -996,7 +996,7 @@ contains do i=-ia,ia !Find freq range that has 50% of signal power
sum2=sum2 + ss(i)-avg
if(sum2.ge.0.25*sum1 .and. xi1.eq.-999.0) then
- xi1=i - 1 + (sum2-0.25*sum1)/(sum2-sum2z)
+ xi1=i - 1 + (0.25*sum1-sum2)/(sum2-sum2z)
endif
if(sum2.ge.0.50*sum1 .and. xi2.eq.-999.0) then
xi2=i - 1 + (sum2-0.50*sum1)/(sum2-sum2z)
|
