|
|
|
|
|
0 Replies and 1176 Views
Using ENVI doits for geostatistics 1176 0
Started by Deleted User
Hello all,
First of all, I am a newcomer, so maybe the answer to my question is trivial, but I just couldn´t figure it out so far.
I am trying to calculate the experimental semi variogram... there is a built-in code in ENVI (under "Spatial Statistics" > "Compute Global Spatial Statistics").
Is it somehow possible to incorporate the underlying code in IDL, like it can be done with the envi doit ro...
|
|
|
|
0 |
1176 |
20 Dec 2011 05:24 AM |
|
2 Replies and 1448 Views
Floating underflows when mousing over iTool windows on a Mac 1448 2
Started by Deleted User
Hi
When I create a window with iImage and mouse over the window with the image object I get streams of floating point errors appearing on the command line. This is kind of inconvenient, is there a way to make them go away e.g.
Program caused arithmetic error: Floating underflow
Program caused arithmetic error: Floating overflow
Program caused arithmetic error: Floating illegal operand
OS is Mac Lion
IDL Version 7.0.1, Mac OS X (darwin i386 m32). (c) 2008, ITT ...
|
|
|
|
2 |
1448 |
15 Dec 2011 05:00 PM |
|
3 Replies and 1062 Views
Setting the size of an image in iImage from command line 1062 3
Started by Deleted User
Hi
When I send an image to iImage there seems to be now way to resize it except by manually dragging a corner out. This approach is slow when I have a lot of figures to make and I can't control the exact size and aspect ratio of the image when I manually enlarge it. I would really like to be able to control the size of the image and color bar to be the same height and force the image pixels to be square.
At the moment, I create the iImage window and alter its contents with the code ...
|
|
|
|
3 |
1062 |
15 Dec 2011 04:50 PM |
|
3 Replies and 1832 Views
ramdom sampling in IDL 1832 3
Started by Deleted User
how to do ramdom sampling in IDL i want to call
Basic tools>statistics>generate random sample>ground truth ROI !
|
|
|
|
3 |
1832 |
12 Dec 2011 05:05 AM |
|
1 Replies and 1173 Views
accuracy assessment in IDL 1173 1
Started by Deleted User
How to perform accuracy assessment in IDL Please point to me any link or code !
thanks
|
|
|
|
1 |
1173 |
08 Dec 2011 08:44 AM |
|
3 Replies and 1927 Views
append write_csv or grow matrix in loop? 1927 3
Started by Deleted User
Hi there,
I was wondering if there is such a function as to append write to a .txt or .csv
What I mean is that if I have a loop that calculates a value, can I write that value to the same .txt or .csv file without over writing the previous entry
I tried the writeu function but i dont want binary and couldnt see how to convert it to ascii.
Or if there is a way to grow a matrix inside of a loop Then I can just write the matrix outside of the loop all in 1 go. I know ...
|
|
|
|
3 |
1927 |
06 Dec 2011 07:50 AM |
|
4 Replies and 1288 Views
Matlab like spreadsheet view? 1288 4
Started by Deleted User
Hi just wondering if IDL has a spreadsheet type view like matlab does
instead of printing an entire tif image, one can just see it the spreadsheet view
i tried googling and the help but thought id ask.
migrating from matlab to IDL, i definitely miss that feature.
|
|
|
|
4 |
1288 |
02 Dec 2011 07:55 AM |
|
1 Replies and 1407 Views
Surface function in my own window 1407 1
Started by Deleted User
The new IDL 8 surface() function draws a data array in a separate window, which will be automatically created, when the function is called.
How can I use the surface function in my own (already well-defined) window, without creating a new one
|
|
|
|
1 |
1407 |
02 Dec 2011 07:02 AM |
|
0 Replies and 945 Views
Strange widget map problem in Fedora 16 (IDL Demo hangs) 945 0
Started by Deleted User
I just upgraded to Fedora 16 running X-server 1.11.2, and Gnome 3.2. I started IDL, typed demo and the screen flashed a couple of times (between my current desktop and an older snapshot) before the widget came up. But that was it. although I clicked in the various demo options nothing came back.
Then I started one of our widget programs that display movies (of solar images) and every time the frame changed, the whole desktop would flash back to a previous state and return to the current frame...
|
|
|
|
0 |
945 |
01 Dec 2011 11:58 AM |
|
2 Replies and 981 Views
Determining plotting range 981 2
Started by Deleted User
I'm trying to write a very simple wrapper for the contour command. I often make astronomical color-magnitude diagrams (CMDs). For historical reasons, these are plotted with inverted y-axes with the small values at the top. I have written a very basic script to handle tedium for me (eliminating invalid data, choosing the axes range, etc):
make_cmd,band1,band2,band3
I'd now like to add contours of sub populations on my existing CMD. Currently I do this by using hist_2d on my data...
|
|
|
|
2 |
981 |
29 Nov 2011 01:58 PM |
|
2 Replies and 1406 Views
read_csv column names to a structure? 1406 2
Started by Deleted User
Hello,
I am trying to use the read_csv function where the first line in the csv has the column names.
I tried using the in front of the names but i get the result of FIELD1, FIELD2, etc.
I tried looking in the help but didnt see any usage on the mark, I found that tip here
http://web.astroconst.org/jbiu/jbiu-doc/io/read_csv.html
my code
datstruc = read_csv(datfile.csv,header)
datfile.csv file (just the first 5 rows)
NAME,aPH,aSM,bPH,bSM
398.6,1,10,1...
|
|
|
|
2 |
1406 |
25 Nov 2011 05:19 AM |
|
3 Replies and 1031 Views
IDL 8.1 on Mac OSX Lion 1031 3
Started by Deleted User
Hi
I am using Mac Book Pro with OSX 10.7.2. I have installed IDL 8.1 and found out IDLDE does not work correctly. First of all, it crashes when I click that icon at first place. I have to reopen it every time. Second, even I can open the IDL workbench, I can not see the toolbar. They are all gone!. Furthermore, I can not edit the preference. I am not sure how to solve these problem, but command line version of IDL seems working very well. Does anyone have solution
|
|
|
|
3 |
1031 |
24 Nov 2011 09:18 AM |
|
2 Replies and 934 Views
problem with ROI_THRESH_DOIT 934 2
Started by Deleted User
Hello,
I have a problem when trying to create a ROI from band values in IDL (with 'ROI_THRESH_DOIT'). When I set 'MIN_THRESH' to be a number (e.g. MIN_THRESH=0) there is no problem and the ROI_ID is created.
However, when I set MIN_THRESH equal to a variable previosly defined ('DMIN' from 'ENVI_STATS_DOIT') the ROI_ID remains undefined and IDL reports an error 'Program caused arithmetic error: Floating illegal operand'.
Any help
Thanks a lot if so,
Adán
|
|
|
|
2 |
934 |
24 Nov 2011 05:02 AM |
|
1 |
1075 |
21 Nov 2011 04:34 PM |
|
0 Replies and 811 Views
FILE_COPY command with existing files 811 0
Started by Deleted User
I'm using the FILE_COPY command and some of the destination files already exist, which causes the command to stop.
I can test for this using FILE_TEST, or I can use the /overwrite option, but is there any way to get FILE_COPY alone to simply ignore these existing files and only copy the new ones I have a feeling I'm missing a very simple switch somewhere, but can't find it in the help...
|
|
|
|
0 |
811 |
21 Nov 2011 06:26 AM |
|
1 Replies and 1096 Views
how to add light using idlgrlight? 1096 1
Started by Deleted User
I want to know how to set the property of light object, such as direction and location. and I wrote the routine below:
BUT the spotlight(type 3) didn't work,and the other lights's effects are also confused to me,because I find when i rotate the volume, the surface did'n't always be lightted the same direction.
you run the routine below,it has been compiled!
PRO Chapter08SurfaceTrack_EVENT, sEvent
WIDGET_CONTROL, sEvent.id, GET_UVALUE=uval
IF TAG_NAMES(sEvent,/STRUCTURE_NAME) EQ $...
|
|
|
|
1 |
1096 |
19 Nov 2011 02:22 AM |
|
2 Replies and 1305 Views
READ_ASCII precision of floating-point values 1305 2
Started by Deleted User
Hello,
I read data from an ASCII file using
aa=READ_ASCII(fn, template=sTemplate)
the first line of the file is
632584.254 93979.473 3089.750
but IDL printf with float format code produces
632584.250000 93979.476563 3089.750000
So, what's wrong here Is there a way to force IDL to use the full float precision when reading ASCII files Or is it my mistake
best regards
Leo
|
|
|
|
2 |
1305 |
17 Nov 2011 04:14 AM |
|
3 Replies and 1194 Views
unsupervised classification of hyperspectral data? 1194 3
Started by Deleted User
Hi there,
I am trying to write a script that will run an unsupervised classification (ISODATA) over a bunch of images and I can't seem to find the IDL routine for the isodata unsupervised classification.
I tried searching this forum and the IDL help section for classification, isodata, unsupervised and didnt get anything.
I would also like to use .pix files if possible.
I can open the .pix files but i cant view them yet...
Suggestions are welcome.
thanks.
|
|
|
|
3 |
1194 |
16 Nov 2011 05:47 AM |
|
1 Replies and 988 Views
Syntax errors after upgrading ubuntu 988 1
Started by Deleted User
Hi,
I'm running IDL 8 on Ubuntu linux 64 bit platform.
After upgrading Ubuntu from version 11.04 to 11.10 my IDL projects show new strange syntax errors.
These errors seems mostly relative to STRSPLIT function, and they signal errors on lines which are NOT errors (these lines were CORRECT before upgrading Ubuntu, using exactly the same IDL compiler).
Moreover, this behaviour SOMETIMES is not observed, meaning that my project is compiled and executed with no errors, without changing ...
|
|
|
|
1 |
988 |
15 Nov 2011 04:42 AM |
|
1 Replies and 1636 Views
How to resolve undefined procedure/function 1636 1
Started by Deleted User
How to resolve this
Attempt to call undefined procedure/function: 'RAY'.
Error occurred at: $MAIN$
Execution halted at: $MAIN$
|
|
|
|
1 |
1636 |
14 Nov 2011 04:36 AM |