|
|
|
|
|
2 Replies and 1300 Views
running selected text in idlde 1300 2
Started by Deleted User
i have tried to find an answer to this question on this board, because i don't think it's unique, but i haven't been able to find a thread along these lines.
i am used to using idl in a linux environment, with one command line terminal and a text editor. in this way i could copy text from the editor and run it at the command line. i was hopeful that idlde, with it's shiftF8 shortcut, would make running code more simple. however, i can't get it to function as i would expect. when i se...
|
|
|
|
2 |
1300 |
09 Jun 2011 04:02 PM |
|
1 Replies and 1136 Views
TEXT Function 1136 1
Started by Deleted User
Hello,
I am having trouble with the TEXT function when I put multiple plots
on the same figure (in a FOR loop). In the following example, the
text is written in the same location on the first plot instead of each
subsequent plot. Any advice would be greatly appreciated.
Thank you,
Kim
W = WINDOW(DIMENSIONS=&911024,1024&93)
FOR N=0,3 DO BEGIN
Y = SIN((N1)*FINDGEN(201)*!PI/25.0)
P = PLOT(Y,/CURRENT,LAYOUT=&911,4,N1&93)
T = TEXT(0.18,0.94,'N...
|
|
|
|
1 |
1136 |
09 Jun 2011 10:42 AM |
|
0 Replies and 1111 Views
COnverting Pixel X and Y to planetocentric coordinate system 1111 0
Started by Deleted User
Hi Friends,
I'm having telescopic data of venus. How can I convert the X and Y co-ordinates in my image to coordinates of venus in terms of latitude and longitude using IDL May I know what are the parameters and other ephemeris data I would require for doing this transformation.
Thank you,
Aishwarya.
|
|
|
|
0 |
1111 |
07 Jun 2011 01:04 AM |
|
0 Replies and 1108 Views
How to show satellite image with IDL new graphic system? 1108 0
Started by Deleted User
Hi guys:
I have a satellite image, and I know each pixel longtitude/latitude coordinates of this image (not regular grid). In the pact, I use the "IMAGEMAP" program. Now, how do I show this satellite image with IDL 8.0 new graphic system
Very thanks!
Dave
|
|
|
|
0 |
1108 |
04 Jun 2011 03:01 AM |
|
1 Replies and 1526 Views
Input Prompt 1526 1
Started by Deleted User
A program that I am writing requires a prompt, but most of the time, the user will be entering the same value so I would like to either:
allow the user to just press return, and then the program uses a preset value OR
have a preset value already printed, so the user can just press enter
For example, if I make a prompt that says,
Enter the current Year:
I want the user to just be able to press enter (Without typing anything) and the program uses a default value of 2011
...
|
|
|
|
1 |
1526 |
03 Jun 2011 02:41 PM |
|
0 Replies and 1193 Views
Analog to digital units (ADUs) to Radiance conversion 1193 0
Started by Deleted User
Hello friends,
I have a telescopic image in fits format. I have two questions wrt to processing my images:
1. Can I open FITS format in ENVI
2. I have pixel values in decimals(range : 1000,2000.3 negative values too). I believe these are counts converted from direct voltage to ADUs. How do I convert them to Quantised and calibrated DN values My objective is to find Radiance from these images at the last. For calibration, im thinking of using the gain values. But I have no clue for q...
|
|
|
|
0 |
1193 |
03 Jun 2011 06:36 AM |
|
0 Replies and 1081 Views
Does not show the filled contour over map with IDL 8.0-32bit 1081 0
Started by Deleted User
Hi everyone:
With IDL 8.0-32bit, the following program does not show the filled contour over map.
But with IDL 7.1, this program runs successfully. I analized this code, and found that remove
the "LIMIT=&9117.0000, 0.0000, 55.0000, 140.000&93" of map_set, this program shows
the filled contour. (ps, this code also runs successfully with IDL 8.0-64bit version). So where
are the problems Thanks.
pro test_map_contour
; Make a 10 degree l...
|
|
|
|
0 |
1081 |
02 Jun 2011 04:24 AM |
|
0 Replies and 1098 Views
AXIS_STYLE in IDL 8.0 1098 0
Started by Deleted User
Is it possible to create a plot using the PLOT function in IDL 8.0 with only a top and right axis (as an example) I understand that setting the AXIS_STYLE =1 will draw the axes at the minimum and maximum data values, but it would be nice to have a bit more control over which axes are drawn. I know that I can set the AXIS_SYTLE=0 and then use the AXIS function, but it would be much easier to set up the axes when doing the original plot.
Thanks,
Kim
|
|
|
|
0 |
1098 |
25 May 2011 02:21 PM |
|
1 Replies and 1219 Views
interpolation with three arrays from data table 1219 1
Started by Deleted User
Dear IDL users,
I am new to IDL and I cannot figure out a particular problem:
I have F(x,y) values for discrete x and y points. In other words,
I have three vectors F&91&93, x&91&93, y&91&93 that I read from a tabulated
text file. In x&91&93 and y&91&93 arrays, there are the coordinate points
where corresponding F values are written in F&91&93 array. All three
arrays, naturally, have the same number of elements.
I want to find F in some arbitrary (x',y') point. I tried t...
|
|
|
|
1 |
1219 |
24 May 2011 03:43 PM |
|
3 |
3293 |
23 May 2011 09:48 PM |
|
0 Replies and 941 Views
Log scale colorbar 941 0
Started by Deleted User
Hello,
I have just started using the new graphics routines in IDL 8.0/8.1 and am trying to incorporate them into an extensive set of customized plotting and image type routines. I am able to use the IMAGE function to display some log-normally distributed data, however I am unable to create a colorbar that reflects the log-transformed data.
Here is a simplified example:
; Read the data array
; Convert the scaled float array (using ALOG10) to a byte array
im = IMAGE(byted...
|
|
|
|
0 |
941 |
17 May 2011 11:05 AM |
|
0 Replies and 1197 Views
Fatal Error when opening large array in IDL 7.1 1197 0
Started by Deleted User
I've run into a problem opening a very large 2D array (~82000x88000) in IDL 7.1. I've run my code on both a PC and a Mac, each with 12 GB or more RAM, and I get the same error. If I use exactly the same code but try to load an array that is (say) 41000x48000 IDL does just fine. The line on which the fatal error occurs is the following:
chan_mask=read_binary(rundata.f0,DATA_DIMS=&9181966L,87579L&93,DATA_TYPE=1)
Is this a known bug in IDL 7.1 If so, is the problem fixed in IDL...
|
|
|
|
0 |
1197 |
13 May 2011 12:06 PM |
|
1 Replies and 1037 Views
IDL8.1 IDLDE HANGS 1037 1
Started by Deleted User
Hi All,
I am frequently in the situation of editing code while running a GUI program. For example,
I may edit the function that handles the results of an event, recompile, test, etc.
What I find is that if I make any error that gets caught by the compiler, the idlde
hangs for a _LONG_ time.
I can continue typing in the editor, I can recall all the history commands in the console,
but I can't actually do anything until IDL eventually finishes thinking.
The fastest way to get ba...
|
|
|
|
1 |
1037 |
12 May 2011 01:47 PM |
|
0 Replies and 1076 Views
ground truth 1076 0
Started by Deleted User
Hi,
How is the value of GT_PRT for ground truth in syntax of CLASS_COPNFUSION_DOIT specifed is it an array The example in Envi help just use ground truth of ROIs.
Thanks
|
|
|
|
0 |
1076 |
11 May 2011 02:57 AM |
|
2 Replies and 856 Views
IDL 8.1 XML parsing 856 2
Started by Deleted User
Has there been a change in the XML parsing I have encountered a problem in porting my app from IDL 6.4 to 8.1 in the following code snippet.
oDocument = OBJ_NEW('IDLffXMLDOMDocument')
oDocument->Load, FILENAME=xml_file
oProduct = oDocument->GetFirstChild()
the error occurs at the GetFirstChild line, from that point onwards, nothing is read.
|
|
|
|
2 |
856 |
08 May 2011 03:40 AM |
|
0 Replies and 792 Views
bands integration 792 0
Started by Deleted User
Hi everybody,
I need your help to solve my problem.
I have 37 bands of an image in img format. I have to integrate or do summation to get one single band image. I have tried but failed.
Kind regards
Ritu
|
|
|
|
0 |
792 |
04 May 2011 04:27 AM |
|
0 Replies and 1136 Views
applying summation on two images 1136 0
Started by Deleted User
Hello all,
I have two hyperspectral images, each with 85 bands. I have to apply the formula (1-(Rb/Rc)). where Rb is the reflectance image. Rc is the continuum removed image. This formula has to repeat for 26 bands. And lastly have to do summation for all the bands. Please suggest me in writing the code in IDL.
Thanks in advance.
|
|
|
|
0 |
1136 |
03 May 2011 10:41 PM |
|
1 Replies and 1142 Views
reverse routine not working on a large array 1142 1
Started by Deleted User
Hello
I am trying to use the reverse() routine to change the order of a one column, 350 row float array.
As demonstrated in this dummy example, the array is not reversed:
IDL Version 8.0, Microsoft Windows (Win32 x86_64 m64). (c) 2010, ITT Visual Information Solutions
IDL> a = fltarr(1, 5)
IDL> for i = 0, n_elements(a)-1 do a&91i&93 = i
IDL> print, a
0.000000
1.00000
2.00000
3.00000
4.00000
IDL> b = reverse(a)
IDL> print, b
0.000000
1.00...
|
|
|
|
1 |
1142 |
01 May 2011 04:05 PM |
|
1 Replies and 818 Views
How to reference window for a plot? 818 1
Started by Deleted User
The new IDL 8 graphics provides a window function, such as
w = window(stuff)
How do I reference this window in a plot in order to put the plot in this window
I see that the new plot function accepts the same arguments as window, such as dimensions, but how do I do it in two steps
Thanks,
==Leonard
|
|
|
|
1 |
818 |
29 Apr 2011 09:50 AM |
|
2 Replies and 1019 Views
for loop 1019 2
Started by Deleted User
Hello,
I wrote a file test.idl with following code inside:
for i=1,2 do begin
print,i
exit
The result I get is 3!
What did I wrong
Thx in advance
Lars
|
|
|
|
2 |
1019 |
29 Apr 2011 07:03 AM |
|