Search this forum:
Search
You are not authorized to create a new topic
Page 1 of 12512345 > >>
Topics
 Replies
 Views
 Last Post
0 Replies and 8 Views Bandpass_filter error message  8  0 Started by  Khilav Majmudar I have 2D time series data, which means I have values in a plane that evolve. I would like to filter the data around the 5 mHz frequency and then plot it. The command I am using is: bp = BANDPASS_FILTER(array,freq0-0.004,freq00.004,/IDEAL). array is a two-dimensional array of values. freq0 is 5 mHz. This command is yielding the error message I mentioned in the summary. Any help is appreciated. Thank you.
0 8
28 Sep 2022 12:56 PM
0 Replies and 88 Views Possible bug in position property in graphics objects  88  0 Started by  Peter Montag While working with some custom plotting routines, I found that setting the position property of a plot does not work as expected. Rather than the plot moving to those coordinates, it instead move something like 2/3 of the way there. For example, p=plot(&91;0,1&93;,&91;0,1&93;) p.position = &91;0.0, 0.0, 0.5, 0.5&93; p.position = &91;0.5, 0.0, 1.0, 0.5&93; will give a plot positioned at &91;0.314, 0.0, 0.814, 0.5&93;. Does anyone know what's happening here Is this intended beha...
0 88
02 Sep 2022 06:01 AM
2 Replies and 75 Views Endfor syntax error when scripting with bash shell  75  2 Started by  johnbkim I have a script like this in a bash shell script idl print, 1 print, 2 ... print, 1000 end_of_commands And it works fine. Then I rewrote it to have this form: idl for i=1,1000 do begin print,i endfor end_of_commands And when I run it IDL says: endfor ^ Syntax error. Thank you.
2 75
by  johnbkimJump to last post
01 Sep 2022 04:07 PM
1 Replies and 49 Views Mac OS compatibility for IDL 8.6.1 and 8.7  49  1 Started by  Thayne Currie Hi: I have an active, albeit old IDL License with 8.6.1 installed on an older computer running Sierra (OS 10.12). On my account, I also see 8.7 as a listed potential 'add on', although I do not see a download link. Questions: - if I upgrade my OS to Mojave (10.14), will IDL break (i.e. is 8.6.1 incompatible with Mojave) - Is 8.7 compatible with Mojave
1 49
by  Ben CastellaniJump to last post
31 Aug 2022 09:27 AM
1 Replies and 96 Views IDL 8.8 not compatible with 8.6 code  96  1 Started by  Achim Holtmann Hi, in IDL 8.6.1 list({a:&91;1&93;}) eq list({a:&91;'1'&93;}) returns 1. In IDL 8.8.1 the same returns 0. This breaks my code that determines whether two structures are equal (as IDL cannot say {a:1} eq {a:1}). This (among other issues - see topic 'Fatal error with restored structure from sav file') definitely prevents me and my working group from updating IDL beyond 8.6. Will this be changed eventually to assure backward compatibility Thanks a lot! Achim
1 96
by  Ben CastellaniJump to last post
24 Aug 2022 07:03 AM
4 Replies and 2218 Views Will the next version of IDL run natively on Macs with the new M1 Chip  2218  4 Started by  Sean Brittain Apple is moving away from Intel and to their new M1 chips. What is the timeline for releasing a version of IDL that runs natively on these chips.
4 2218
by  Lutz RastaetterJump to last post
12 Aug 2022 12:30 PM
3 Replies and 118 Views Need Optiminization help!  118  3 Started by  Bill Biagiotti I've been working at this dilemma for quite a while and thought I would ask my fellow IDL experts. I am processing an image by taking sequential 3x3 2D subsets from it and calculating the following: 1) Subtracting the center point from the surrounding elements, 2) Calculating the absolute value of (1), and then summing all of those deltas. The problem is I can't figure out how to efficiently do this with IDL without loops. Here is some code: n = statboxsize - 2 temp = INTARR(statboxsize, ...
3 118
by  Ben CastellaniJump to last post
10 Aug 2022 01:44 PM
3 Replies and 511 Views .RUN not working w/o options in idl 8.8.2  511  3 Started by  Chris Kreutzer Using .RUN in idl 8.8.2 does not give me a '-' prompt, just goes right back to IDL> . However if I do '.RUN --' then I get the '-' prompt. I do not see this issue with IDL 8.8.1 . Any ideas on how to setup 8.8.2 so I don't need to add '--' to use .RUN . Same happens to .RNEW . Thanks Chris
3 511
by  Ben CastellaniJump to last post
10 Aug 2022 08:57 AM
2 Replies and 745 Views How to download IDL Virtual Machine  745  2 Started by  Vittorio Torroni Hello, I need the IDL VM to run a .sav file that has been given to me. I have completed the registration process, but I don't understand how to download IDL. If I go to download and licensing center, it says that I need to enter a specific username and password (not the same one used to register on the main website), but there is no link to create such account. I have tried to download old versions, but it says that the page is temporarily unavailable. It's very disappointing that l3harri...
2 745
by  Mari MinariJump to last post
28 Jul 2022 08:06 AM
2 Replies and 204 Views Fatal error with restored structure from sav file  204  2 Started by  Achim Holtmann Hi, I use list(struct) eq list(struct) to compare structures. This works fine mostly but the code below produces a fatal error (IDL Workbench closes). Note that this only happens when the structure is set up in a certain way, e.g., with only the first two tags, it does work. s = {l: 1l, s: '', s2: ''} list(s) eq list(s) ; This returns 1 as expected save, s, FILENAME='s.sav' restore, 's.sav' list(s) eq list(s) ; this produces a fatal error I use IDL 8.8.1 on Linux Mint 20.3 Thanks...
2 204
by  Ben CastellaniJump to last post
01 Jul 2022 08:16 AM
2 Replies and 231 Views static variables in class object  231  2 Started by  stefan raffseder Hello everybody, i am very new at idl programming but know the principles of OOP. Now i need a class with a few instances where each instance is able to access the same data. I know the concept of static member variables in c classes and thought, there would be an equivalent in idl. But i didn't found any. Is there another concept i could use Thanks, carl
2 231
by  stefan raffsederJump to last post
21 Jun 2022 05:28 AM
0 Replies and 248 Views UTF-16 Support in IDL  248  0 Started by  Viji VL In IDL 8.1 version, default encoding for workspace and resource file UTF-8. If we need to support surrogate pair (in Chinese environment), we need UTF-16 encoding. In UTF-8 encoding surrogate pair character is displayed as ''. But we could not change to UTF-16 encoding. If we change to UTF-16 encoding in IDL workspace file entries got messed up or IDL got crashed. Also even if we input surrogate pair character in widget_text control, GET_VALUE returns '' Please give support for UTF-...
0 248
29 May 2022 12:31 AM
7 Replies and 2143 Views Mac OS 12 Monterey breaks IDL  2143  7 Started by  Henry Chapman I recently upgraded to Monterey on my mac and now IDL crashes as soon as you invoke a window in X-windows: IDL> plot, findgen(10) Error: Unresolved inheritance operation I tried reinstalling X-Quartz (which was up to date at version 2.8.1) but this didn't help. Thanks, Henry
7 2143
by  Ben CastellaniJump to last post
25 May 2022 01:12 PM
1 Replies and 240 Views HDF5 Question  240  1 Started by  Marcos Montes Does IDL have support for 'dimension scales' in its H5 routines I see it in various Python, Fortran, and C implementations. But I cannot see anything similar in IDL's H5 routines. For example, the calls to H5DS at this thread: https://hdfeos.org/forums/showthread.phpp=1774 . Thanks for any input. -Marcos
1 240
by  Ben CastellaniJump to last post
25 May 2022 01:09 PM
0 Replies and 285 Views lamda's as elements of a dictionaries  285  0 Started by  Evan Fishbein This code simplifies the situation: compile_opt strictarr ec=hash() ec =dictionary('l', lambda('x:x^2') ) a={a:lambda('x:x^2')} scr=ec&91;'l'&93; scr1=a.a print, scr(1), scr1(1) What is the syntax for accessing the lambda expression without the dummy variables scr and scr1. For example ec.l(1), (ec.l)(1), ((ec.1))(1) all return 'undefined method for dictionary' or 'syntax errors.'
0 285
01 Apr 2022 04:20 PM
1 Replies and 259 Views Spectral Match  259  1 Started by  Nathan Wainstein Hello, How can I match spectra with IDL like for example with Spectral Analyst Tool in ENVI Thanks, Nathan
1 259
by  Ben CastellaniJump to last post
30 Mar 2022 09:39 AM
1 Replies and 363 Views QUERY_DICOM return zero for dicom files  363  1 Started by  Ellen Wasbø I have some dicom files not being recognized as dicom by IDL, but recognized by other dicom readers/viewers. One example is from the newest softwareupdate for an x-ray vendor export raw images in a dicom format where QUERY_DICOM return zero. The file can be read by other software including MicroDicom and ImageJ so the vender claim that there is nothing wrong with the dicom files. Another example: Some processed images, both for old and new gamma camera, return zero on QUERY_DICOM. The files can ...
1 363
by  Ben CastellaniJump to last post
14 Mar 2022 05:08 PM
0 Replies and 5482 Views How to determine which US state a point is located in?  5482  0 Started by  Ben Castellani There is no routine built into IDL to do this by default. However, it is very simple using the stock states shapefile and the IDLanROI object class: https://www.l3harrisgeospatial.com/docs/idlanroi.html See the provided example function below which can be used to identify the state containing the specified point: function stateFinder, longitude, latitude ; NAME: ; stateFinder ; ; PURPOSE: ; This function returns the name of the US state containing the specified point....
0 5482
14 Mar 2022 11:00 AM
1 Replies and 332 Views Plot transparency issue IDL8.8.2  332  1 Started by  Wouter Schellekens Hi IDL experts, When I plot symbols with the plot or scatterplot function, the transparency of the symbols is high. I cannot get it to zero, and appears to be transparency=50 by default. I can increase it to values higher than transparency=50. However, the issue only occurs when displaying within IDL and not when I save it to e.g. a png-file. I'd like to see my figures exactly as I would save them, so I'd know what I'm saving. How can I fix this I'm using IDL8.8.2 on Linux Debian 11 Tha...
1 332
by  Ben CastellaniJump to last post
03 Mar 2022 10:21 AM
1 Replies and 308 Views Skip images with no pixels  308  1 Started by  Paul Manley I diced some images and then want to extract spectra the spectra from the dices. Because of how I diced the images, there are now dices that have no pixel information. Instead of manually removing those, I want the foreach loop to skip the ones with no pixels. When running this code: 1 foreach file, files do begin 2 raster1 = e.OpenRaster(file) 3 ;Define ROI with Threshold 4 roi = ENVIROI() 5 roi.AddThreshold, raster1, 182, min_value=0, max_value=1 6 7 pixelData = raste...
1 308
by  Dane NguyenJump to last post
21 Feb 2022 10:18 PM
You are not authorized to create a new topic
Page 1 of 12512345 > >>