Well, you can certainly start with the current version by importing the array as double and use Compute to convert it to float and Replace to make it positions. In addition, you could use Compute to maximum the content within float precision, for example, by subtracting off the minimum value from all the array elements, and then only float the difference.
David Thompson <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 07/25/2001 10:45:55 AM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: [email protected] cc: Subject: Re: [opendx-users] Re: Positions and double >Maybe the solution I'm looking to is to modify the dx importer >in suche a way that, when it reads from a binary file a double array >it stores it in memory as a float array? This is what you want to do. It makes more sense to handle it this way and should be pretty easy to do. To clarify your statement, I think what you want to say is: Within the Import module when positions are read as anything other than float, they should be cast to float. The positions component is defined on page 19 of the User's Guide to be float[n]. David -- ............................................................................. David L. Thompson Visualization and Imagery Solutions, Inc. mailto:[EMAIL PROTECTED] 5515 Skyway Drive, Missoula, MT 59804 Phone : (406)257-8530
