|
|
|
|
|
8 |
3086 |
by Ben Castellani 23 May 2023 10:31 AM |
|
0 Replies and 51 Views
Need additional optiminization help! 51 0
Started by Bill Biagiotti
I have another efficiency question for my fellow IDL experts. I am calculating the 'entropy' of many sequential 3x3 2D subsets within an image by performing the simple calculation of finding the MIN and MAX of these subsets, calculating the delta, and storing it in an array and the BYTSCLing it to display. This is a little different from a question I posted last year when a poster (Ben) gave me a very nice IDL way to solve it. Unfortunately, it doesn't lend itself to this problem. Here is my ...
|
|
|
|
0 |
51 |
16 May 2023 08:20 AM |
|
1 Replies and 157 Views
IDLDE on macOS X11 display not forwarded 157 1
Started by Chris Stuberg
I'm having some issues with IDLDE 8.8.3 not forwarding the Workbench window over X11. Instead, `idlde` launches Workbench on the host machine not the client machine. I'm using a MacPro as a host running macOS 11.7. I'm using a MacMini running macOS 11.7 as a client. XQuartz version is 2.8.3 for both machines. From the client, I can ssh to the host and run `idl` from the command line just fine, and it will forward plots without any issues. However, when I run `idlde` from an ssh session...
|
|
|
|
1 |
157 |
by Dave Rowenhorst 17 Apr 2023 10:53 AM |
|
3 Replies and 193 Views
Keyboard accessibility: new windows in IDLDE 193 3
Started by Anna Malanushenko
Hi, for some years now, whenever I type 'window, &91;number&93;' in IDLDE, the window it opens is (a) minimized, and (b) at the very very end of the AltTab sequence. This essentially makes it terribly inconvenient to switch to from the keyboard. Is there any setting that can help Is there a workaround My workflow often requires me to run a program, click somewhere on an opened window, then flicker between window 1 and window 2 (for example), then go back to IDLDE, then run a ...
|
|
|
|
3 |
193 |
by Ben Castellani 13 Mar 2023 12:46 PM |
|
1 Replies and 1027 Views
Can any IDL library handle .ser files? 1027 1
Started by Eileen Meyer
Hi, Does anyone know if IDL can import .ser files It is a video file format produced by the SharpCap astronomy imaging software. It's not listed in the file formats list: https://www.l3harrisgeospatial.com/docs/file_formats.html But I still wanted to double-check before abandoning IDL for python...
|
|
|
|
1 |
1027 |
by Ben Castellani 07 Mar 2023 11:17 AM |
|
2 Replies and 158 Views
program routine arguments as lists and hashes 158 2
Started by Evan Fishbein
Does idl have a syntax like python when arguments and keywords can be accessed using lists (*arg) and dictionaries (**kwargs). I'm trying to write code that cycles through the supplied arguments and it seems that builtins like print, string and create_struct have this capabilities, but user written routines do not.
|
|
|
|
2 |
158 |
by Kathleen Finch 25 Feb 2023 04:31 AM |
|
3 Replies and 2254 Views
python to IDL bridge on Mac 2254 3
Started by Stephane Erard
Hello I have a hard time trying to make the python bridge to work on Mac (OS X 14.2 localized, IDL 8.7.1, python 2.7 and 3.6) I'm using either the Apple install of python 2.7 or a homebrew install of 3.6. The IDL to python seems OK with python in the PATH (I can call python from IDL command line, although not in the workbench), but not the other way around. - Defining a PYTHONHOME logical only results in complete blocking of python (exits with message ImportError: No module named site...
|
|
|
|
3 |
2254 |
by Ben Castellani 07 Feb 2023 11:30 AM |
|
1 Replies and 278 Views
Python Bridge numpy absent 278 1
Started by Dagmar van Dusschoten
I recently installed IDL 8.8.3 and decided to setup the bridge to Python. I added to the PATH variable and ran setup.py in the correct directory. Everything looks OK. In Python 3.7.6 I can run from idlpy import * When I run in IDL > np=Python.Import('Numpy') I get PYTHON::LOAD: numpy is not installed for this python distribution and is required for the IDL-python bridge. numpy can be installed by running 'c:\users\d.van.dusschoten\Anaconda3\python.exe -m pip install numpy'. numpy is in...
|
|
|
|
1 |
278 |
by Chris Ryan 31 Jan 2023 06:30 PM |
|
3 Replies and 237 Views
has anyone successfully brought up a python plot window from the DE 237 3
Started by Ronn Kling
I'm trying to bring up a matplotlib graph and cannot get past creating the figure. I get the same error when calling it from a .pro or using >>> to put the console into python mode >>> >>> import matplotlib.pyplot as plt Loaded DLM: PYTHON39. >>> plt.figure(0) The I get a window that says (wish I could paste an image here) This application failed to start because it could not find or load the Qt plaform 'windows' in '', Reinstalling the application may fix the problem Pressing...
|
|
|
|
3 |
237 |
by Ronn Kling 07 Jan 2023 04:48 AM |
|
3 Replies and 231 Views
Change Detection Difference Map 231 3
Started by Christian Kohler
Hi! Currently I am investigating differences in some data, in case two DEM files. Therefore I used the Change Detection Difference Map dialog in ENVI which is working perfectly fine and fast, but as I want to use it several time I am looking a possibility to recreate this functionality in IDL. Trying to recreate the functionality in IDL I used the following functions (firstly using ENVI modeler and then exported to IDL): 1. Generate Tie Points by Mutual Information 2. Filter Tie Points by Gl...
|
|
|
|
3 |
231 |
by Mari Minari 20 Dec 2022 08:32 AM |
|
1 Replies and 225 Views
REPEAT...UNTIL 225 1
Started by Manaf Alkhuzaei
Is there a way to use (Repeat begin/endrep until) and the condition that the code is run 100 times
|
|
|
|
1 |
225 |
by Ben Castellani 07 Dec 2022 08:33 PM |
|
3 Replies and 283 Views
Scale all bands in raster 283 3
Started by Federico Carotenuto
I am trying to perform in IDL an operation that is conceptually quite simple, but that's apparently very complicated code-wise. I have a raster with more than 200 bands. The raster data values are 'float' type data and range between 0 and 1. I want to convert this raster to have 'uint' data type scaled between 0 and 10000. Conceptually this would be as easy as typing 'fix(raster*10000)', but that does not work, band math is needed. Now, is it really possible that this is the -only- way to...
|
|
|
|
3 |
283 |
by Mari Minari 21 Nov 2022 08:00 AM |
|
1 Replies and 262 Views
VECTOR function doesn't make plot on postscript device 262 1
Started by Xinghai Zhao
I am using VECTOR function to make vector plot. But the resulting plot is always showing up in separate 'x' window even if I set device as 'ps' as postscript. The postscript file generated has zero size. I use IDL 8.8.2 on M1 Mac with macOS 12.6. This seems the case on other systems too! Thanks a lot!
|
|
|
|
1 |
262 |
by Ben Castellani 03 Nov 2022 09:01 AM |
|
1 Replies and 1743 Views
When will HDF5 1.10 be supported by IDL? 1743 1
Started by Kathleen McCandless
We would like to keep our application code in sync with IDL, and are wondering what the upgrade time frame is for HDF5. Thanks!
|
|
|
|
1 |
1743 |
by Ben Castellani 31 Oct 2022 08:25 AM |
|
1 Replies and 1270 Views
Slow rendering at startup 1270 1
Started by Ellen Wasbø
I have an applikation with quite a few widgets in it, but I think it takes strangly long time to start up. The rendering of images, lists and tables during runing the program is not a problem. It just sometimes take very long time to get the buttons visible to get started. Are there anything I can do to my code to speed up the startup-rendering
|
|
|
|
1 |
1270 |
by Ben Castellani 31 Oct 2022 08:22 AM |
|
1 Replies and 1217 Views
Creating ROIs for a dataset and collect pixel values 1217 1
Started by Bereket Mamo
I am doing remote sensing work and have a dataset containing a few hundred images. Each image has several bands, which contain information such as reflectance, incidence angle, longitude and latitude information. My goal is to create a database of reflectance and other information contained in the other bands on a pixel-by-pixel basis. 1. To reduce the large amount of data this would generate, I would like to create a region of interest (ROI) around a specified location of the surface and ap...
|
|
|
|
1 |
1217 |
by Ben Castellani 31 Oct 2022 08:21 AM |
|
1 Replies and 1386 Views
IDL program stops at regular intervals 1386 1
Started by Ellen
Hi guys, My IDL program stops automatically at regular intervals, about 2 hours, although it can run successfully every time after I restart it. The error message is: Failed to open image. This may be due to SELinux settings. Please see the Release Notes for ENVI, or contact your System Administrator. Error message: OBJ_NEW: IDLnaReaderRaster unable to connect to data Unable to invoke method on NULL object reference: )>. The halted line is at my ENVITask('ReprojectGLT'). I hav...
|
|
|
|
1 |
1386 |
by Ben Castellani 31 Oct 2022 08:17 AM |
|
1 Replies and 1066 Views
problem saving graphics 1066 1
Started by André Knöfel
Hi, I have the following problem when saving graphics on Windows 10 with IDL 8.7.2 I create a graphic and save it in a PNG file using the Save Method. A normal graphic can be seen here as an example: https://www.astroamateur.de/IDL/InetLayoutMOL40_ok.png From time to time, however, a graphic is created that sometimes shows bars instead of labels. Here is an example: https://www.astroamateur.de/IDL/InetLayoutMOL40_fail.png The faulty bars are usually in an identical position. Th...
|
|
|
|
1 |
1066 |
by Ben Castellani 27 Oct 2022 06:06 PM |
|
1 Replies and 1248 Views
Variable undefined problem: STRSPLIT 1248 1
Started by Brivael Laloux
Hello everyone, I am a beginner in IDL language and I need it to use the ACIS Extract package. After instaling the IDL and the reauested libraries I tried to do the tutorial example of the package. I had several problems including incomplete IDL_PATH to access all libraries. Anyhow, I couldn't solve one problem: the function STRSPLIT. At some point, a procedure of the ACIS Extract package used this function and it raised an error 'Variable is undefined: STRSPLIT. Execution halted at: $MA...
|
|
|
|
1 |
1248 |
by Ben Castellani 27 Oct 2022 06:02 PM |
|
1 Replies and 1298 Views
IDL Python bridge error with new IDL8.8/Anaconda 3.8 1298 1
Started by Roy Kilgard
Hi there, I have a Mac running macOS 10.15.7. I have clean installs of IDL8.8 and Python 3.8 via Anaconda. I ran the setup.py for the IDL Python bridge successfully, but when attempting to run any python code in IDL, I get this: IDL 8.8.0 (darwin x86_64 m64). (c) 2020, Harris Geospatial Solutions, Inc. Licensed for use by: Wesleyan University License: 99690 IDL> >>>22 Loaded DLM: PYTHON38. INTEL MKL ERROR: dlopen(/Users/rkilgard/anaconda3/lib/libmkl_intel_thread.dylib, 9): Libra...
|
|
|
|
1 |
1298 |
by Ben Castellani 27 Oct 2022 05:59 PM |