Filling in Degrees in a Circle (Astronomy)

Carl Banks pavlovevidence at gmail.com
Fri Aug 22 23:13:02 EDT 2008


On Aug 22, 7:12 pm, "W. eWatson" <notval... at sbcglobal.net> wrote:
> Is there some simple operational device in Python that would allow me to
> create an array (vector) of 360 points from my data by interpolating between
> azimuth points when necessary? All my data I rounded to the nearest integer.
> Maybe there's an interpolation operator?

There's nothing built in, but see the bisect module.  It is a good way
to determine which interval you are in, and you can interpolate the
points yourself.


Carl Banks



More information about the Python-list mailing list