summaryrefslogtreecommitdiff
path: root/lib/gfsk_pulse.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gfsk_pulse.f90')
-rw-r--r--lib/gfsk_pulse.f906
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/gfsk_pulse.f90 b/lib/gfsk_pulse.f90
new file mode 100644
index 00000000..99ab78e3
--- /dev/null
+++ b/lib/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