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

How to change IDLDE background color?

I was just wondering if/how I could change the background color of IDLDE, to avoid having a white screen all day long, and use a less exhausting color for my eyes like brown/grey... Thanks a lot EDIT : IDLDE (the IDL IDE) not IDLE, my bad, I'm…
Geo
  • 119
  • 1
  • 10
0
votes
1 answer

IDL STRMATCH and STRSPLIT with Multiple Strings

I'm trying to cut some strings which contains the symbol '_' using STRMATCH and STRSPLIT, in order to modify them, in this way: mystring=['aaa_111','bbb_222','ccc','ddd'] nmax=N_ELEMENTS(mystring) cut_mystring=STRARR(2,nmax) FOR i=0, nmax-1 DO…
Alberto
  • 341
  • 1
  • 3
  • 13
0
votes
1 answer

IDL - conditional statement for image after running FLAASH

I had a Quickbird image and after running the FLAASH, I would like to normalize the image as following: if the pixel>0 or =10000, multiply it by 1; if pixel < or = 0 multiple it by 0; if pixel >0 and <10000 multiple it by its float value and devide…
0
votes
2 answers

IDL READFITS() syntax error

I'm trying to use the READFITS() function on IDL 8.3 on Mac 10.9.3 My input on the IDL promt: readfits('image.fits',h, /EXTEN, /SILENT) Result: readfits('image.fits',h, /EXTEN, /SILENT) ^ % Syntax error. *note: the '^' is…
deedsy
  • 57
  • 2
  • 11
0
votes
1 answer

Robust higher statistical moments in IDL

I'm working with noisy data in IDL, so I've been using STDDEV and robust_sigma . There are papers on robust skewness and kurtosis, for instance [1] and [2], but are there implementations, as for standard deviation? (in IDL or maybe C?)
Gene Arboit
  • 183
  • 1
  • 1
  • 11
0
votes
1 answer

$idl command in terminal does not start IDL

Entering $idl in terminal returns 'command not found'. 'which idl' gives nothing as well. The default IDL_PATH…
0
votes
1 answer

Calling another program to run inside my program in IDL

The program I am calling is called modeltest pro and my program is called wrapp.pro. I am just curious as to how to call modeltest pro to my program so that my program wrapps around modeltest.pro? I am new to programing, so any information would…
0
votes
2 answers

Set Title in postscript header, produced by IDL

How to produce an postscript output in IDL such that the title window (i.e. the Title field in the header of the postscript file) is set to the filename or to an arbitrary string? By default, it is set to "Graphics produced by IDL": %%Title:…
Gene Arboit
  • 183
  • 1
  • 1
  • 11
0
votes
2 answers

Computing a median of stack of images using IDL

I am trying to compute a median of a stack of images in TIF format for my research. From another source I found out a way to compute this from stack of images present in a GDF format, using IDL> buf=read_gdf('demo.gdf') IDL> help, buf BUF …
0
votes
2 answers

Saving and accessing a lot of ROI polygons (IDL, ImageJ, Java?, XML?)

I need to save and re-load thousands of ROI polygons on a stack of images, actually a 30-frame-per second movie for 30+ minutes, so at least 54,000 frames. There can be multiple ROIs on a single image (frame) in the stack, and the size and number…
JCoenia
0
votes
1 answer

Trouble with simple GDL code

I am writing a simple GDL(IDL) code for an introductory programming class. It is used to determine the velocity of a man parachuting in relation to time. It uses an Euler approximation and I keep getting an error that I am sure has something to do…
csb391
  • 13
  • 4
0
votes
1 answer

IDL program returns erronius results if input is too big

I'm trying to run a large batch of data through my IDL program, but when I do I get nonsensical results. If I split up the input and then give each piece to the program separately and then stitch the output together it works fine. This has led to to…
Ryan Stull
  • 1,056
  • 14
  • 35
0
votes
1 answer

IDL for loop overwrites data

I have a problem with my for-loops in IDL. for sl=0,2 do begin ; number of hours for t=90,90 do begin ; timesteps each hour for rad_num = 0, 3 do begin ; number of radars for ibin = 0, 333 do begin ; distance to radar for iray = 0,…
user3445764
0
votes
1 answer

Printing to file in IDL

I want to print to file in IDL. The number of files exceeds 100 and I can only ever get 100 text files produced. My code is: for i = 0,575 do begin fname='file_'+string(i,format="(i03)")+'.txt' openw,21+i,fname,/append for j = 1,nchan(0)-1 do…
stars83clouds
  • 795
  • 1
  • 8
  • 25
0
votes
1 answer

Converting IDL spline interpolation to Python

IDL to Python: All is OK except for the spline interpolation section, where I'm not sure what IDL is doing. Here's a section with the bit I want to convert: ; slice of IDL code x=[6.0 5.0 4.0 3.0 2.0] x1 = [1.0] xi1 = x1[0] x2 =…
dcnicholls
  • 391
  • 1
  • 5
  • 15