On 4/1/2011 9:35 AM, bryan.fodn...@gmail.com wrote:
Can anyone tell me what I am doing wrong?
Posting the same question twice is a bad idea, as it splits answers and
may lead to duplication. I answered your first post without seeing
Peter's response to you second post, which is further down
On 4/1/2011 8:56 AM, Fodness, Bryan C - GS wrote:
I am loading text into an array and would like to convert the values.
from math import *
from numpy import *
from pylab import *
data=loadtxt('raw.dat')
mincos=degrees(acos(data[:,0]))
minazi=degrees(data[:,1])
minthick=data[:,2]/0.006858
I am no
On Apr 1, 9:52 am, Peter Otten <__pete...@web.de> wrote:
> bryan.fodn...@gmail.com wrote:
> > I am loading text into an array and would like to convert the values.
>
> > from math import *
> > from numpy import *
> > from pylab import *
>
> > data=loadtxt('raw.dat')
> > mincos=degrees(acos(data[:,0
bryan.fodn...@gmail.com wrote:
> I am loading text into an array and would like to convert the values.
>
> from math import *
> from numpy import *
> from pylab import *
>
> data=loadtxt('raw.dat')
> mincos=degrees(acos(data[:,0]))
> minazi=degrees(data[:,1])
> minthick=data[:,2]/0.006858
>
> I
I am loading text into an array and would like to convert the values.
from math import *
from numpy import *
from pylab import *
data=loadtxt('raw.dat')
mincos=degrees(acos(data[:,0]))
minazi=degrees(data[:,1])
minthick=data[:,2]/0.006858
I am not sure why degrees() works, but acos() does not.
I am loading text into an array and would like to convert the values.
from math import *
from numpy import *
from pylab import *
data=loadtxt('raw.dat')
mincos=degrees(acos(data[:,0]))
minazi=degrees(data[:,1])
minthick=data[:,2]/0.006858
I am not sure why degrees() works, but acos() does not.