To fit molecular absorption data, I would like to calculate the Galatry profile using the confluent hypergeometric function. Trying to implement this, I noticed that the built-in Igor functions hyperG1F1 only accepts real arguments (I have complex arguments). On the other hand, the generalized hypergeometric function hyperGFPQ accepts complex waves as arguments but seems to always return real.
Does anybody have an Igor implementation of the confluent hypergeometric function similar to hyperG1F1 that supports complex arguments (such as the CONHYP algorithm published by Nardin, Perger, and Bhalla)?
Thanks for the quick reply. Turns out I stupidly forgot to use print/c when playing around with the functions, resulting in a 'number type not supported' error. Sorry for spamming the forum.
- Fabrizio
The functions in question are supported for both real and complex arguments, e.g.,
•print/c hyperG0f1(1.5,zz)
(1.32998,0.403171)
I hope this helps,
A.G.
WaveMetrics, Inc.
October 7, 2011 at 10:49 am - Permalink
- Fabrizio
October 7, 2011 at 01:33 pm - Permalink