INSIGHT 3D Visualization ? [message #13585] |
Wed, 25 November 1998 00:00  |
mike
Messages: 6 Registered: February 1995
|
Junior Member |
|
|
A new user question:
Config:
* WIN NT 4.0
* IDL 5.1
* IDL Main Directory = C:\Program Files\RSI\IDL51
* Working Directory = D:\MAG\COMPUTER\IDL
* Default paths
Having:
* Started IDL
* Started INSIGHT
* Selected New Project
* Selected OK
* Selected File then Import File As
* Selecting simple, 3-column ascii data file (no headers)
* Selecting Define and Read ASCII option in Select File Format for
import box
* Using options: delimited, starting line 1, NEXT
* White space option (displays correct number of input columns), NEXT
* fields1,2,3 of correct type (integer in simple case), FINISH
* Cancel out of Select File for File Plugin window
I find:
* Correct information (for fields, class, type, dims, descrip) in
Data Manager
* Line, Scatter, Histogram, Polar Plots allow X/Y/field selection and
plot okay
HOWEVER:
* Selecting either Contour or Surface plot options results in the
message "Error occurred while creating a visualization. There is no
data defined. You must first create or import data before you
proceed."
Finally, THE QUESTION:
* Why don't/can't I get 3D plots under these conditions?
Obliged to anyone with an answer!!!
Tx,
MGreen
|
|
|
Re: Insight [message #14466 is a reply to message #13585] |
Wed, 03 March 1999 00:00  |
Dave Brennan
Messages: 28 Registered: December 1998
|
Junior Member |
|
|
Insight is a pretty looking GUI interface supplied with IDL 5.0 (don't
know about earlier versions) that can be used to manipulate data sets in
a project like manner.
Apparently the problem I had is due to a bug, which is fixed in version
5.2, according to RSI.
In earlier versions the program creates multiple copies when only one
copy is necessary, thus the poor memory management.
Thanks for the tips though!
Dave Brennan
|
|
|
Re: Insight [message #14473 is a reply to message #13585] |
Tue, 02 March 1999 00:00  |
menakkis
Messages: 37 Registered: June 1998
|
Member |
|
|
korpela@islay.ssl.berkeley.edu (Eric J. Korpela) wrote:
<...>
> I'm not familiar with Insight, but since you posted to this group, I'm
> assuming it's an analysis package written in IDL.
I'm not familiar with Insight either, but I'm sure I've heard about it
somewhere :-)
Peter Mason
PS My apologies Eric. I tried, honestly, I tried. I mean no offence here,
but rather I second your opinion. (BTW, check out your IDL CD-ROM :-)
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
|
|
|
Re: Insight [message #14514 is a reply to message #13585] |
Fri, 26 February 1999 00:00  |
korpela
Messages: 59 Registered: September 1993
|
Member |
|
|
In article <36D67D6D.84DBD771@clinmed.gla.ac.uk>,
Dave Brennan <9147261b@clinmed.gla.ac.uk> wrote:
> I have a problem with Insight. When I try to load a 3D array into
> insight using Import File the program uses vast amounts of memory and
> swap space slowing the program until it grinds to a halt.
> The files are quite large (256x256x128 integer arrays), however, I have
> no problems working with this data in my own programs.
> Why is insight so memory intensive, and is there a way to combat this?
I'm not familiar with Insight, but since you posted to this group, I'm
assuming it's an analysis package written in IDL. If so you could
check out VARRAY at my web site, which allows files to be memory mapped
under IDL (Unix only).
The other potential problem is using data in a way that requires temporary
arrays to be created, rather than doing processing in place.
a=intarr(256,256,128)
b=intarr(256,256,128)
b=b+a ;creates a 16 MB temporary array.
b[*]=b[*]+a[*] ; doesn't use much additional memory
b=5*b+a*a ; creates 32 MB in temporary arrays,
b[*]=5*b[*]+a[*]*a[*] ; doesn't use much additional memory
Eric
--
Eric Korpela | An object at rest can never be
korpela@ssl.berkeley.edu | stopped.
<a href="http://sag-www.ssl.berkeley.edu/~korpela">Click for home page.</a>
|
|
|