diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /math/bevington/ploren.f | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'math/bevington/ploren.f')
-rw-r--r-- | math/bevington/ploren.f | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/math/bevington/ploren.f b/math/bevington/ploren.f new file mode 100644 index 00000000..20fcb7c3 --- /dev/null +++ b/math/bevington/ploren.f @@ -0,0 +1,23 @@ +c function ploren.f +c +c source +c Bevington, page 51. +c +c purpose +c evaluate lorentzian probability function +c +c usage +c result = ploren (x, averag, width) +c +c description of parameters +c x - value for which probability is to be evaluated +c averag - mean of distribution +c width - full width at half maximum of distribution +c +c subroutines and function subprograms required +c none +c + function ploren (x,averag,width) +1 ploren=0.1591549431*width/((x-averag)**2+(width/2.)**2) + return + end |