Questions tagged [idl-programming-language]

Interactive Data Language, a dynamically typed programming language used primarily for image analysis and data visualization. IDL is maintained and licensed by Harris Geospatial Solutions.

IDL (Interactive Data Language) is a dynamically typed programming language intended for processing and visualization of numerical data. IDL is currently maintained and licensed by Harris Geospatial Solutions. It is popular in particular areas of science such as earth science, astronomy, and medical imaging.

Additional information is available on Wikipedia.

Tagging recommendation:

Use the idl-programming-language tag for all IDL related questions. Do not use the idl tag; that is for Interface Description Language.

326 questions
0
votes
1 answer

automatic code generation for IDL (ITTVIS/exelis) in eclipse IDE?

I was hoping to find a way to automatically generate some code based on existing code. The actual functionality would be very similar to javadoc or in this case IDLdoc or to automatic get/set functions. I want to create some generic code based on…
PopcornKing
  • 1,370
  • 3
  • 18
  • 23
0
votes
1 answer

Call an IDL routine from command line in Windows and prevent (or ignore) popup dialog boxes

I've written a short script (in another language, happens to be Python) which passes arguments to the command line as follows - ildrt -args p1 p2 --o1 --o2 where p, o are positional and optional arguments respectively (obvious).…
mlh3789
  • 723
  • 2
  • 7
  • 17
0
votes
1 answer

Calling vectors in readcol from a string array?

I would like to generate vector names using and put them in a string array, and then I need to call these vector titles in with the readcol command. Here is basically what I want: vectorname1/vectorname2 are string arrays with the desired names of…
0
votes
1 answer

what is the format of a fltarr written to .dat

I don't really use IDL but am using a model written in IDL. I have some pre-established scripts that extract the output from .dat to .tif but now I would like to look at some intermediate files. Essentially the code is as follows: openw, 1,…
Dominik
  • 782
  • 7
  • 27
0
votes
0 answers

Rotation algorithm not producing expected results

I am trying to port some code from IDL to C, and I find myself having to replicate the ROT function. The goal is to rotate a 1024x1024 array of unsigned shorts by an angle in degrees. For the purposes of this project, the angle is very small, less…
Frank Harris
  • 305
  • 1
  • 6
  • 16
0
votes
2 answers

Plotting in colour in IDL

I have trouble plotting different colours in IDL. If I do the following: loadct, 13 plot, x, y, color=n No matter what value I put for n, I can only get different shades of red. How can I plot in other colours?
ylangylang
  • 3,294
  • 11
  • 30
  • 34
0
votes
1 answer

Pointers to structures in IDL structures

I have the following structures defined: point_str={loop_point, x:0d, y:0d} loop_time_str={loop_time_struct, points:ptr_new(/allocate_heap), loop_id:0d, time:0d} loop_str={loop_struct,time_series:replicate(loop_time_str, num_images),…
IainS
  • 260
  • 3
  • 14
0
votes
1 answer

IDL equivalent of MATLAB function accumarray()

I've been given the task of translating a piece of MATLAB code into IDL and have hit a roadblock when I came across the MATLAB function accumarry(). The function, described here is used to sum elements in one array, based on indices given in…
Corey Kelly
  • 222
  • 1
  • 2
  • 9
0
votes
1 answer

creating a variable that change sizes in for loop

I have to create a fits file using the data from two IDL structures. This is not the basic problem. My problem is that first I have to create a variable that contains the two structures. To create this I used a for loop that will write at each step…
0
votes
2 answers

IDL for loop inconsistency

I recently came across this apparent inconsistency when going through someone's IDL code: IDL> for i=0.,1.9,1. do print,i 0.00000 1.00000 IDL> for i=0.,1.9,1 do print,i 0.00000 1.00000 IDL> for i=0.,1.9 do print,i …
user707650
0
votes
2 answers

Scrambling an array in idl

I was wondering if there is a module in idl that one can use to scramble an array of floating point numbers. I tried using scramble.pro but the problem is that it returns integers, and if I try to use float it doesn't return the exact numbers i…
0
votes
1 answer

Changing the LAPACK implementation used by IDL linear algebra routines?

Over at http://scicomp.stackexchange.com I asked this question about parallel matrix algorithms in IDL. The answers suggest using a multi-threaded LAPACK implementation and suggest some hacks to get IDL to use a specific LAPACK library. I haven't…
0
votes
1 answer

Spatially Subsetting Images in batch mode using IDL and ENVI

I would like to spatially subset LANDSAT photos in ENVI using an IDL program. I have over 150 images that I would like to subset, so I'd like to run the program in batch mode (with no interaction). I know how to do it manually, but what command…
Carly Hyatt
  • 1
  • 1
  • 2
-1
votes
1 answer

Decode IASI Satellite Spectrum - convert IDL to python

Since I have no experience in IDL coding, I need help converting the piece of code below to python. The following parameters are known and are 1D arrays oder scalars. IDefScaleSondNbScale, IDefScaleSondScaleFactor, IDefScaleSondNsfirst,…
Shaun
  • 461
  • 3
  • 5
  • 22
-1
votes
2 answers

Dividing arrays in IDL and sum over array elements

I was wondering how to divide two arrays a = [1,2,3,4,5] b = [2,4,6,8,15] to get a/b = [0.5,0.5,0.5,0.5,0.3] Thanks in advance for the help.
1 2 3
21
22