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

Home » Public Forums » archive » Using IDL variables from ENVI
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
Using IDL variables from ENVI [message #43953] Tue, 10 May 2005 05:08 Go to next message
Julio[1] is currently offline  Julio[1]
Messages: 52
Registered: May 2005
Member
Hello there,

I'm using "Z profile" tool of ENVI to retrieve spectral profiles of
images. Then, I export these profiles to an IDL variable. How can I
input these variables into my IDL routine?

Cheers,

Julio
Re: Using IDL variables from ENVI [message #44024 is a reply to message #43953] Wed, 11 May 2005 12:10 Go to previous message
Jeff N. is currently offline  Jeff N.
Messages: 120
Registered: April 2005
Senior Member
If you're looking for a way to do it within the interface (not
programmatically), it's pretty easy. In the profile window, choose
File->Save Plot As->IDL Variable. You could also export the profile to
a text file and then read that in IDL if you need to I guess, depending
on how much you want to do programmaticaly and how much you want to do
by hand.

Jeff


Julio wrote:
> Hello there,
>
> I'm using "Z profile" tool of ENVI to retrieve spectral profiles of
> images. Then, I export these profiles to an IDL variable. How can I
> input these variables into my IDL routine?
>
> Cheers,
>
> Julio
Re: Using IDL variables from ENVI [message #44039 is a reply to message #43953] Wed, 11 May 2005 04:29 Go to previous message
cjengo is currently offline  cjengo
Messages: 28
Registered: June 1999
Junior Member
Julio,
I'm not real clear on how you want to use the spectral profiles. You
can pass the exported spectrum to your program as an argument or
keyword (myprogram, spectrum=var). Or, if you want to extract and use
the spectrum from within your program, take a look at ENVI_GET_SLICE.

Chris
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Possible Mac OS Bug with FIX.
Next Topic: Re: Possible Mac OS Bug with FIX.

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

Current Time: Thu Oct 09 02:52:19 PDT 2025

Total time taken to generate the page: 0.80210 seconds