Re: [julia-users] create a multi data type structure in Julia

2015-02-04 Thread alex codoreanu
=> None[]* * :SIGMA1_RESULT => None[]* * :SIGMA3_RESULT => None[]* On Tuesday, February 3, 2015 at 3:07:43 AM UTC+11, alex codoreanu wrote: > > Hi Tim, > > I am actually trying to use the low-level functionality provided in > FITSIO.jl to write a higher-level functi

Re: [julia-users] dynamically create a type definition

2015-02-02 Thread alex codoreanu
o look at the DataFrames package, and particularly at this > issue: > https://github.com/JuliaStats/DataFrames.jl/issues/744 > > - Kyle > > On Mon, Feb 2, 2015 at 8:15 AM, alex codoreanu > wrote: > >> Hi, >> >> I am trying to figure out how to erase

[julia-users] dynamically create a type definition

2015-02-02 Thread alex codoreanu
Hi, I am trying to figure out how to erase a previous instance of a type definition. I am writing a function that can dynamically create a return_type based on the variables passed to it. For example: instance 1 type data_return_type spec_name::String lambda::Vector(Float32} spec::Vect

[julia-users] erase previous instance of type

2015-02-02 Thread alex codoreanu
Hi, I am trying to figure out how to erase a previous instance of a type definition. I am writing a function that can dynamically alocate For example: instance 1 type data_return_type spec_name::String lambda::Vector(Float32} spec::Vector(Float32} end

Re: [julia-users] create a multi data type structure in Julia

2015-02-02 Thread alex codoreanu
xtendingIO.md > Further discussion could happen at > https://github.com/JuliaAstro/FITSIO.jl/issues/18 > > --Tim > > On Sunday, February 01, 2015 12:35:53 AM alex codoreanu wrote: > > Hi all, > > > > I'm a new Julia user and I'm starting to write a

Re: [julia-users] create a multi data type structure in Julia

2015-02-01 Thread alex codoreanu
That worked but I had to use: data = Array(Element, 2) Thanks for the info! On Sunday, February 1, 2015 at 8:57:23 PM UTC+11, Milan Bouchet-Valat wrote: > > Le dimanche 01 février 2015 à 01:24 -0800, alex codoreanu a écrit : > > Thanks Milan, > > > > >

Re: [julia-users] create a multi data type structure in Julia

2015-02-01 Thread alex codoreanu
+11, Milan Bouchet-Valat wrote: > > Le dimanche 01 février 2015 à 00:35 -0800, alex codoreanu a écrit : > > Hi all, > > > > > > I'm a new Julia user and I'm starting to write a high-level multi data > > type fits file reader and writer akin to IDL&#

[julia-users] create a multi data type structure in Julia

2015-02-01 Thread alex codoreanu
Hi all, I'm a new Julia user and I'm starting to write a high-level multi data type fits file reader and writer akin to IDL's mwrfits/mrdfits. I got most of the dynamics figured out by I can't quite make a custom structure. For example, I would like something like: element = {name::string, lam

[julia-users] Re: Adding Custom .jl through module calls

2015-01-27 Thread alex codoreanu
Thanks Mauro, alex.readcol() worked ! *julia> **a=alex.readcol(name_of_file)* the object returned is a 10201.0 x 3 matrix On Tuesday, January 27, 2015 at 9:19:22 PM UTC+11, alex codoreanu wrote: > > Hi guys, > > I'm a new user, 1st week :) and I am having troubl

[julia-users] Adding Custom .jl through module calls

2015-01-27 Thread alex codoreanu
Hi guys, I'm a new user, 1st week :) and I am having trouble properly accessing some functions that I built. One of them is akin to IDL's readcol.pro. My module definition for alex.jl *module alex* *include("/Users/alex/CODES/Julia_Custom_jl/alex/src/readcol.jl")* *println("alex_module_loaded

Re: [julia-users] simple I/O question

2015-01-26 Thread alex codoreanu
Hi Kyle, I have the same issue but I can't find the solution you found in a different thread. Would you mind sharing the link or answering your own original question? Thanks! On Tuesday, January 20, 2015 at 4:36:42 AM UTC+11, Kyle Barbary wrote: > > Oops, just noticed this already got answere