X
Search this forum:
Search
You are not authorized to create a new topic
Page 32 of 126 << < 3031323334 > >>
Topics
 Replies
 Views
 Last Post
1 Replies and 1345 Views image function save method bug  1345  1 Started by  Deleted User hi here is example code img = FINDGEN(500, 500) x = findgen(500) i = IMAGE(img, x, x, rgb_table=33, $ yra=&91500, 0&93, /axis) i.SAVE, '123.pdf' i.SAVE, '123.png' 123.pdf and 123.png is different. idl 8.4
1 1345
19 Nov 2014 09:28 PM
1 Replies and 1263 Views Database in IDL  1263  1 Started by  Deleted User I am trying to write code to access a dataset in a netCDF file to grab the data and format it in a different order. I don't know how to access the data in a dataset. If someone could help me that would be great!!
1 1263
11 Nov 2014 06:46 PM
1 Replies and 1304 Views Mac Mouse in OS X 10  1304  1 Started by  Deleted User Hi, All - I can't get the CURSOR function to work with a Mac under IDL 8.3 and OS X 10. I know there had been a problem in earlier versions, and the X11 / terminal fixes recommended don't help. Can anyone tell me what the latest is on this Thanks and regards, Bill Arden
1 1304
10 Nov 2014 04:14 PM
2 Replies and 1274 Views Static method - called by object or as static method?  1274  2 Started by  Deleted User Hello, I am looking for a way to discover (within the method) if a static method that is called is actually called as a static method or from the object class with which it is associated. I have not come up with a way to determine this. Thanks
2 1274
10 Nov 2014 08:06 AM
1 Replies and 1362 Views Variable quick watch  1362  1 Started by  Deleted User Hello all, In IDLDE 8.0, I was able to watch variables during execution, by hovering on them with the mouse. This does not seem to be possible on version 8.2. Is there anything I should configure to enable this great functionality Many thanks.
1 1362
31 Oct 2014 03:33 AM
1 Replies and 1440 Views My Upgrade to MAC 10.10 (Yosemite) causes problems with running ENVI  1440  1 Started by  Deleted User My Upgrade to MAC 10.10 (Yosemite) causes problems with running ENVI or IDL:
1 1440
24 Oct 2014 11:14 AM
1 Replies and 1453 Views display 16 bit data like TV  1453  1 Started by  Deleted User I'd like to simply display unsigned 16 bit data (200x200) similar to TV. How can I do
1 1453
23 Oct 2014 09:10 PM
1 Replies and 7267 Views Unable to allocate memory to make array  7267  1 Started by  Deleted User Hello all, I am trying to get the number of occurences of values higher than 100 in arrays and always get a 'Unable to allocate memory' error on large arrays. I do not wish to increase my virtual memory, which is currently set to 3GB. Here is my code: a=UINDGEN(2000,6000,150) a GE= 100 b=TOTAL(a) I get the memory allocation error on the second line. Is there a way to achieve this Thank you for reading (and helping if you can!).
1 7267
22 Oct 2014 06:01 AM
11 Replies and 2502 Views Compatibility with OS X Yosemite?  2502  11 Started by  Deleted User My IDL 8.1 stopped working after I upgraded the system to OS X Yosemite. It appears to be related to some dynamic library.Here is what I have:bash> idldyld: Symbol not found: _inflateReset2 Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib Expected in: /Applications/itt/idl/idl81/bin/bin.darwin.x86_64/libz.1.dylib in /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylibTrace/BPT trap: 5I have reinstalled zlib and libpng thr...
11 2502
17 Oct 2014 04:21 AM
1 Replies and 1344 Views Plotting time dependent data  1344  1 Started by  Deleted User Hello, I have problems with labeling x time axis using procedure PLOT. My time data are in 'seconds' format - number of seconds counted from 1/1/1979. On X axis I want to display time in format H:I but there are only 00:00 labels displayed. Could someone answer how to set the correct format of dataI trieddummy=LABEL_DATE(DATE_FORMAT=&91'H:I'&93)p=PLOT(data(0,*),data(1,*),'r', AXIS_STYLE=1, XTICKUNITS='Time', XTICKFORMAT= 'LABEL_DATE')Thank you
1 1344
17 Oct 2014 04:14 AM
1 Replies and 1638 Views Second axis with non-linear coord_transfrom ?  1638  1 Started by  Deleted User I'm trying to create a plot which has a second x-axis which has a non-linear relationship to the main x-axis. This is straightforward to do with the plot and axis procedure (see below) but seems impossible with the new graphics axis since it either sticks to the first axis' data units or only allows a linear coord-transform. Is there anyway around this or is this capability not available yet Procedure code example (I could just take the log of x and x2 to work with the new graphics but looking ...
1 1638
16 Oct 2014 07:28 AM
2 Replies and 2254 Views STRING keyword in NCDF_VARDEF  2254  2 Started by  Deleted User Hi, I have been trying to create a NetCDF file (version 3) with a number of variables in a mix of types. However, when I try to include string variables, using the /STRING keyword, it produces an error (NC_ERROR=-45 : Unable to define variable). This only appears to happen when I try to define a string variable - it has no problem with Float, Double or Long. I am running IDL 8.3, and the string keyword was introduced in 8.1, so this should not be the issue. The issue happens with both arrays of ...
2 2254
16 Oct 2014 06:04 AM
1 Replies and 1447 Views image function: fails to save with eps and ps format correctly if yrange is set  1447  1 Started by  Deleted User Hello! I met a problem when image an 2d histogram. Here is part of the codes: ----------------------------------- w0 = window(dimensions=&91800,600&93) x = raw.v-raw.i y = raw.v upperpart = &910.1,0.1,0.9,0.9&93 ngrids = 500 bin1 = (max(x)-min(x))/ngrids bin2 = (max(y)-min(y))/ngrids max1 = max(x) min1 = min(x) max2 = max(y) min2 = min(y) h2d = hist_2d(x,y,bin1=bin1,bin2=bin2,max1=max1,min1=min1,max2=max2,min2=min2) h2d = bytscl(alog10(h2d>1))*0.8 ct = colortab...
1 1447
13 Oct 2014 04:52 PM
0 Replies and 1635 Views Got my issue figured out -  1635  0 Started by  Deleted User I cannot seem to delete a post that I accidentally submitted.
0 1635
10 Oct 2014 10:00 AM
2 Replies and 1647 Views ndvi_batch  1647  2 Started by  Deleted User Hi, I'm very new in IDL. I want to calculate NDVI indice for a lot of images with got from private company. I found in this forum a pro code and i tryed to adapt it but it not working. Please check and tell me what is wrong. pro ndvi_batch compile_opt idl2 ;set up path to input and output files ;input_path = 'X:\JEdi_D2\GrassService\Siguldas_nov\Process\140708\112717_2' ;change to output directory where I want the processed files to be placed cd, 'X:\JEdi_D2\Gra...
2 1647
09 Oct 2014 03:54 AM
2 Replies and 1154 Views axis function bug?  1154  2 Started by  Deleted User Hi, can anyone help me I'm running IDL 8.3. I cannot even run the function example http://www.exelisvis.com/docs/AXIS.html with out the errormessage "Keyword AXIS not allowed in call to: AXIS::SET"
2 1154
07 Oct 2014 08:13 AM
3 Replies and 1430 Views Performing Canny Filter  1430  3 Started by  Deleted User Hello, I'm new with IDL. I 'm trying to reproduce the following code to test a canny filter on a png 8 bit unsigned integer : http://www.exelisvis.fr/docs/CANNY.html This is how I modified the code in my case : img = READ_PNG(FILE_SEARCH('SoCor_062_2.png', /FULLY_QUALIFY_PATH)) filtered = CANNY(img) TVSCL, img, 0 TVSCL, filtered, 1 First, when I display the raw image with "TVSCL, img, 0", it shows a black picture frame instead of showing my image. Then, when I display the...
3 1430
07 Oct 2014 03:04 AM
0 Replies and 1538 Views matrix multiply of idl is very slow compared to Python.  1538  0 Started by  Deleted User hi. here is example code. my english is poor. sorry. data = RANDOMU(seed, 2e3, 2e3, /double) ; using idl matrix multiply tmp = tic() res_idl = datadata idl_time = toc(tmp) ; using python ; www.slither4idl.com py = pyimport('__main__') py.EXEC, 'from numpy import dot' tmp = tic() res_py = py.DOT(data, data) py_time = toc(tmp) ; 8 times faster in my computer PRINT, 'idl elapsed time', idl_time PRINT, 'python elapsed t...
0 1538
06 Oct 2014 05:14 AM
2 Replies and 1441 Views Limited number of array dimensions  1441  2 Started by  Deleted User Hello! I found that I could not make any array (of any sort) that exceeded 8 dimensions using IDL 8.3. For instance, the command "m1=fltarr(2,2,2,2,2,2,2,2,2)" results in the following response: " FLTARR: Incorrect number of arguments." However, the following command is okay: "m2=fltarr(2,2,2,2,2,2,2,4)". Arrays m1 and m2 have an equal amount of elements, but m1 has 9 dimensions and m2 has 8 dimensions. Therefore, it does not seem to be a memory problem. So, why is...
2 1441
03 Oct 2014 07:39 AM
1 Replies and 1322 Views Layer_Stacking  1322  1 Started by  Deleted User Hi, I'm using later_stacking_doit_multi_files routine in batch mode. It works only if the stacking layers are in the same directory. I would like to change the code like it takes layers from different locations and do stacking. I did like that but it not works, it takes only the file from other_mydir location cd, 'mydir' files = file_search('*_000000_g.tif', count=count, /fold_case) cd, 'other_mydir' files = file_search('*_000001_g.tif', count=count, /fold_case) Any help could be n...
1 1322
24 Sep 2014 03:45 AM
You are not authorized to create a new topic
Page 32 of 126 << < 3031323334 > >>