comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to save an floating-point array into a .dat file?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to save an floating-point array into a .dat file? [message #38811] Sun, 28 March 2004 11:22
Mathias Brandt is currently offline  Mathias Brandt
Messages: 4
Registered: March 2004
Junior Member
Hello everybody!
I am rather unexperienced with idl file input/output routines, and hopefully
my question does not appear too stupid. I have written a program that
analyzes an image for a number of defined categories and stores the results
in a customized event array, given by
a x b
where a is the list of predefined categories to analyze and b the number of
events per image.
The program saves the array with the following sequence
...
openw,1,'resultfile.dat'
printf,1,resultarr
close,1
...
17 categories of parameters are retrieved from every image (and therefore 17
columns of data) and I need all 17 items per event in the same line, so
everything can be imported into an Origin-table to calculate statistics.
Unfortunately, the line is clipped after 6 items and continued in another
line.
My question: How can I change the output format to have a file with 17
columns and the proper number of lines (without line-clipping after 6 items
per line)

Thank you very much for a good advice.

M.C. Brandt
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Image structure
Next Topic: Re: How to save an floating-point array into a .dat file?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:13:53 PDT 2025

Total time taken to generate the page: 0.00481 seconds