On Wednesday, November 12, 2014 4:21:12 PM UTC-5, Luke Stagner wrote:
>
> Forgive me if this is a basic question. I have a matrix stored in an IDL
> save file. I have been trying to read it in using PyCall and
> scipy.io.readsav
>
I can't reproduce your problem:
julia> o1 = PyObject(rand(2,3))
PyObject array([[ 0.33150974, 0.89636836, 0.68890329],
[ 0.63132778, 0.36191286, 0.15337456]])
julia> convert(Matrix{Float64}, o1)
2x3 Array{Float64,2}:
0.33151 0.896368 0.688903
0.631328 0.361913 0.153375
julia> o2 = pyeval("[[ 1.68552301e-101, 2.35697831e-066,
3.61510788e-04], [ 3.42516635e-103, 9.95975928e-068,
2.55145289e-04]]", PyObject)
PyObject [[1.68552301e-101, 2.35697831e-66, 0.000361510788],
[3.42516635e-103, 9.95975928e-68, 0.000255145289]]
julia> convert(Matrix{Float64}, o2)
2x3 Array{Float64,2}:
1.68552e-101 2.35698e-66 0.000361511
3.42517e-103 9.95976e-68 0.000255145
Do the above examples work for you?