summaryrefslogtreecommitdiff
path: root/lib/ft2/gfsk_pulse.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2019-04-29 22:08:59 +0200
committerChristoph Berg <myon@debian.org>2019-04-29 22:08:59 +0200
commitb7238399ea4f1ca51d8f7b8f9220af3da0913edf (patch)
tree9716c5c0a793b2f7cda83e9d8f840095a0e9358e /lib/ft2/gfsk_pulse.f90
parent200de07a95209a55d6019ba87f0abc78d302bf4c (diff)
New upstream version 2.1.0~rc5+repackupstream/2.1.0_rc5+repack
Diffstat (limited to 'lib/ft2/gfsk_pulse.f90')
-rw-r--r--lib/ft2/gfsk_pulse.f906
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ft2/gfsk_pulse.f90 b/lib/ft2/gfsk_pulse.f90
new file mode 100644
index 00000000..99ab78e3
--- /dev/null
+++ b/lib/ft2/gfsk_pulse.f90
@@ -0,0 +1,6 @@
+real function gfsk_pulse(b,t)
+ pi=4.*atan(1.0)
+ c=pi*sqrt(2.0/log(2.0))
+ gfsk_pulse=0.5*(erf(c*b*(t+0.5))-erf(c*b*(t-0.5)))
+ return
+end function gfsk_pulse