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, lambda::[float_array, 5000 elements],
flux::[float_array, 5000 elements]}
structure = replicate(element, 500)
where structure inherits the members of element and can be called,
structure[1].name = the name of element 1
strucutre[1].lambda[1] = the first lambda element of the first structure
Thanks !!!