|
|
|
|
|
4 Replies and 1200 Views
Does anyone know the formula for calcuating Local Moran I, in ENVI. 1200 4
Started by Deleted User
Does anyone know the formula for calcuating Local Moran I, in ENVI.
I created a sample 5x5 image and calculated "Local Moran I" in ENVI. Parellay I calculated local moran I manually in Excel. I really donot understand what went wrong, in ENVI the values are too low, and no way matching up with the results that I got manually(seriously I tried 10 time, using the formulas from text book).
Any help is appriciated.
|
|
|
|
4 |
1200 |
25 Aug 2011 07:58 AM |
|
1 Replies and 1393 Views
startup files in WIndows in IDL 7.0 - help! 1393 1
Started by Deleted User
Hi folks - I am triyng to set up a very simple startup file for IDL 7.0 in Windows. I know to set the environment variable, and IDL obviosuly sees my file and tries to exceute it... but parts of it work and others do not. I am at a loss! here is the code:
DEVICE, RETAIN=2, TRUE_COLOR=24, DECOMPOSED=0
LOADCT, 0
!P.BACKGROUND=’FFFFFF’x
!P.COLOR=’000000’x
!P.FONT=-1
DEVICE, SET_CHARACTER_SIZE=&919,12&93
Window, XSIZE=400, YSIZE=400, /PIXMAP
P...
|
|
|
|
1 |
1393 |
19 Aug 2011 04:37 PM |
|
1 Replies and 3505 Views
Display line numbers? 3505 1
Started by Deleted User
I'm very new to IDL, and I'd like to display the code line numbers in the editing window. Is there a way of doing this I haven't seen it in any Help files so far.
Thanks,
Joe
|
|
|
|
1 |
3505 |
17 Aug 2011 09:26 AM |
|
2 Replies and 1450 Views
difficulty using linterp command - need help making loop to exclude a value yet average others 1450 2
Started by Deleted User
I am writing a program for my supervisor to take 8 spectra which are
each a matrix of 16384 by 2. The part of the program we have already
splits the matrices into single matrices. Which is the code below:
fitfilename1 = '/Users/quasargroup/NGC3783/NGC3783 new data/X1dsum
files/lbgu19010_x1dsum.fits'
data1 = mrdfits(fitfilename1,1,hdr)
w1 = data1.wavelength
w1a=w1(*, 0)
w1b=w1(*, 1)
f1= data1.flux
f1a=f1(*, 0)
f1b=f1(*, 1)
.... etc. through 8
...
|
|
|
|
2 |
1450 |
14 Aug 2011 01:33 PM |
|
0 Replies and 1154 Views
Problem with text created by XYOUTS after conversion to animated gif 1154 0
Started by Deleted User
Hi to all readers!
My problem is as follows:
When I create PS-plots and add text with XYOUTS to them and convert them to an animated gif file with ImageMagick I get a nice animation but the old output of XYOUTS isn't erased when a new frame appears but remains so that the numbers (an IDL-variable) I want to display cannot be recognized.
Any idea how to avoid this problem
Thank you very much for any help!
Yours sincerely,
Sven
|
|
|
|
0 |
1154 |
13 Aug 2011 02:54 AM |
|
0 Replies and 1013 Views
Undocumented ENVI/IDL routine: WIDGET_ENVI_LAB 1013 0
Started by Deleted User
In the examples ITT Vis provides of ENVI/IDL programming, there is a
function called user_ev.pro (pasted below). There's a function called
WIDGET_ENVI_LAB that is not a part of ENVI or IDL's help menu. Does
anyone know what it does Thanks.
; *******************************************************
; This routine is an example of an auto-managed compound
; widget. This widget prompts the user for a long integer
; and an output filename.
;
; For more informat...
|
|
|
|
0 |
1013 |
12 Aug 2011 11:45 AM |
|
1 Replies and 949 Views
Scatterplots using new IDL8 graphics 949 1
Started by Deleted User
I am trying to produce scatterplots using the new IDL8 graphics functionalities.
For example, I use the PLOT procedure to plot band3 against band4:
test=plot(imagearr&91*,*,2&93,imagearr&91*,*,3&93,SYM_INDEX = 'dot')
But this always produces the following errors:
PLOT: Arguments have invalid dimensions
Error occurred at: GRAPHIC
22 C:\Program Files\ITT\IDL\IDL80\lib\graphics\graphic_error.pro
PLOT 63
...
|
|
|
|
1 |
949 |
12 Aug 2011 07:07 AM |
|
2 Replies and 1219 Views
idlhelp frames display no text 1219 2
Started by Deleted User
Ola,
I am running Fedora 15 64-bit.
uname -a
... 2.6.40-4.fc15.x86_64 1 SMP Fri Jul 29 18:46:53 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
When I run idlhelp, it brings up my default browser with a page that has frames on it but no text. The frames look similar to another user who is using Mac OS X.
Here is my !version from IDL.
IDL> help, !version
** Structure !VERSION, 8 tags, length=104, data length=100:
ARCH STRING 'x86_64'
OS STRING 'linux'
...
|
|
|
|
2 |
1219 |
10 Aug 2011 05:19 PM |
|
0 Replies and 1088 Views
Netcdf file 1088 0
Started by Deleted User
Hi all,
I need to do a simple procedure on Netcdf files, but i can't find a simple way to do it. I want to modify an existing Netcdf and then save the modify version, with a different name, without replacing the original file. Thank you everyone who could help me!
Jacopo
|
|
|
|
0 |
1088 |
04 Aug 2011 06:25 AM |
|
1 Replies and 2005 Views
READ BINARY with skip 2005 1
Started by Deleted User
Hi Folks,
I am trying to read some specific binary data coming from planetary missions. I am currently using MATLAB for that, but I want for some reasons switch to IDL for a few of my analysis. I am blocked to a stupid issue because so far I know, READ_BINARY command does not offer to skip between record as the FREAD Matlab command does.
Here is the line I use under MATLAB for reading my data:
val = fread(fid,rows,precision,skip);
where, fid is the identifier, rows t...
|
|
|
|
1 |
2005 |
01 Aug 2011 07:58 PM |
|
0 Replies and 1198 Views
help:blank holes occurs when converting EVF file to ROI 1198 0
Started by Deleted User
When writing IDL programmes to convert EVF file to ROIs, I found that by using ENVI_CREATE_ROI,ENVI_DEFINE_ROI and other functions just like thisto convert EVF file to ROIs (http://groups.google.com/group/comp.lang.idl-pvwave/browse_thread/thread/d542f3637e107e20), the convert results contain many obvious blank holes in case of there exists a large region.In fact ,there blank holes should be convert into a single ROIs .But in the ENVI software, the convert results are correct by using the menu...
|
|
|
|
0 |
1198 |
29 Jul 2011 02:59 AM |
|
5 Replies and 1554 Views
Batch Subsetting Script 1554 5
Started by Deleted User
Does anyone have an example IDL script of how to batch subset a series of images based on a .evf file Any insights would be appreciated.
Angelica
|
|
|
|
5 |
1554 |
26 Jul 2011 05:56 PM |
|
1 Replies and 1010 Views
IDL 8.0 Prerequisites 1010 1
Started by Deleted User
Hello.
I wanted to know what are the IDL 8.0 prequisites for a RedHat system. Can't find that info nowhere.
Thanks.
Regards,
Vilhena
|
|
|
|
1 |
1010 |
26 Jul 2011 07:34 AM |
|
1 |
1559 |
21 Jul 2011 02:24 AM |
|
1 Replies and 1134 Views
ROT cubic 1134 1
Started by Deleted User
Hi,
I was wondering that there exists a benchmark of the ROT function of IDL
Cheers,
Jorn
|
|
|
|
1 |
1134 |
20 Jul 2011 10:18 AM |
|
1 Replies and 1077 Views
Slanted Contour Plot 1077 1
Started by Deleted User
Can anyone suggest a method for making a slanted contour plot Specifically, I want to make a contour that has the x axis be horizontal, but the y axis slanted from vertical, to give sort of a 3D look with the purpose of staking 3 or more plots on top of one another to indicate layers of a system.
|
|
|
|
1 |
1077 |
19 Jul 2011 08:59 AM |
|
2 Replies and 1672 Views
8.1 undefined procedure/function write_png, plot3d and others? 1672 2
Started by Deleted User
I've recently downloaded and installed v8.1 and am trying to run my Gadget2 IC and output visualization scripts, however when I try to run lines such as
WRITE_PNG, foutName, TVRD()
or
WRITE_JPEG, foutName, TVRD(), QUALITY=75
I get these errors
Attempt to call undefined procedure/function: 'WRITE_PNG'.
or
Attempt to call undefined procedure/function: 'WRITE_JPEG'.
I also get the same type of error when I try and use PLOT3D. When I look in my IDL folders I find...
|
|
|
|
2 |
1672 |
18 Jul 2011 10:53 PM |
|
0 Replies and 965 Views
Multicolor Line in the same plot 965 0
Started by Deleted User
Hi all,
I would like to plot a 3D array using different colors,at the moment I am still tryng in 2D to obtain what I am thinking with a code like this:
for j=0, 100 do begin
z=&910.00, 3.0, 6.0, 9.0, 12.0&93
x=z*sin(i)*0.1
y=z*cos(i)*0.1
plot, /NOERASE, z&910:2&93, x&910:2&93, xrange=&910,14&93, yrange=&91-1,1&93, color=red
plot, z&912:4&93, x&912:4&93, xrange=&910,14&93, yrange=&91-1,1&93, color=blu
wait, 0.1
endfor
But I doesn't work as...
|
|
|
|
0 |
965 |
18 Jul 2011 09:54 AM |
|
0 Replies and 1042 Views
multi-dimensional headers 1042 0
Started by Deleted User
Hi all,
I'm trying to figure out a clean way to associate a different fits header with each piece the third dimension of a 3-D array (I have a 512 x 512 x 72 array, and each of those 72 should have a different .fits header). I can read in the headers just fine and create a 2-D string array (dimensions=326 x 72), but neither writefits not mwrfits will take this 2d string array as a header argument. In both cases I get the error
FXPAR: FITS Header (first parameter) must be a string ...
|
|
|
|
0 |
1042 |
17 Jul 2011 11:12 PM |
|
1 Replies and 1158 Views
Fatal error when attempt to open an image 1158 1
Started by Deleted User
I'm running IDL 7.1.1 on Ubuntu Linux (11.04). IDL installed fine, but when I attempt to open any image file, I get a pop up window that says "Fatal error: IDL has encountered a fatal error and will now exit" after which IDL closes. Any ideas on what the issue might be Thanks.
|
|
|
|
1 |
1158 |
14 Jul 2011 12:16 PM |
|