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
1
vote
2 answers

Is there an Interactive Data Language (IDL) procedure for accessing a video/camera source?

I have considered that one might use an external library somehow (e.g.. OPENCV), such as via CALL_EXTERNAL, MAKEDLL or LINKIMAGE, but I wonder if there is a built-in IDL procedure for video/camera access. I did not find such a procedure in the IDL…
David
  • 282
  • 1
  • 17
1
vote
1 answer

Color postscript in IDL

I've got some plots that I want to output as postscript files using IDL. I have used the following: SET_PLOT, 'PS' DEVICE, FILENAME = 'myplot.ps', /LANDSCAPE PLOT, ... DEVICE, /CLOSE But this outputs in black and white only. How can I color…
1
vote
2 answers

Plotting in IDL using POLYFILL

My supervisor has suggested the following code for extracting vertical slices from a set of 40 x 40 images and plotting them as a time series (24hrs), with images stored in an array 'images = FLTARR(no_images, 40,40)', and corresponding times in…
1
vote
2 answers

IDL: Can IDL add a colorbar/other legend info below a contour plot, so that it doesn't overlap anything?

I am using a map_set call to draw a map, and then using contour to plot some data on top of it. I want to add a legend to this plot to make it useful, but it would have to be below the entire plot, and everything I've tried creates an overlapping…
Carthage
  • 77
  • 1
  • 6
1
vote
1 answer

How can I avoid the nan values in mpfit.py?

I used mpfit.py to get the some seasonal variation of data. But I can't get the seasonal variation, because my observed data had some nan values. So I can't calculate them. Do you know the skill to avoid or ignore nan values as NAN keyword of…
Lee
  • 49
  • 1
  • 4
1
vote
3 answers

Multiple procedures in IDL program

I've written a procedure in IDL which performs some calculations on data and outputs an array of values. The calculations take about 2 minutes to run. I need to then perform analysis on these results, and ideally I would like not to have to perform…
1
vote
4 answers

python: eliminate positions of nan in multiple lists

I am coming from IDL and trying to find and eliminate the NaNs in two lists of data. lets say there is a NaN in position 5 for list A but not list B. I need position 5 to be removed in both lists. Like so... A = [1, NaN, 3, 4, NaN, 6, 7, 8,…
Thomas Cannon
  • 89
  • 2
  • 12
1
vote
2 answers

How to use pref_set command in IDL

I'd like to add a directory to IDL Path, and use: pref_set,'IDL_PATH','+/home/mydirectory/Tools/IDL/:',/COMMIT It works, but when I exit from IDL and start it again, and I input: .run myfile "myfile" is one in "mydirectory", and an…
Schawn
  • 57
  • 1
  • 9
1
vote
2 answers

Rotating 1d FFT to get 2D FFT?

I have a blurry image with a sharp edge and I want to use the profile of that sharp edge to estimate the point spread function (PSF) of the imaging system (assuming that it is symmetric). The profile of the edge gives me the "edge spread function"…
1
vote
2 answers

IDL undefined procedure

I'm using IDL 8.3 on Mac 10.9.3 I am running a script that calls in a procedure. The procedure I am calling in is contained in a directory that I included in IDL's path (I did this by going under IDL->preferences->IDL->paths and adding the…
deedsy
  • 57
  • 2
  • 11
1
vote
1 answer

Build scripts for custom object heavy IDL code?

I have a large eco-system of IDL code, mostly implemented using custom objects, that a large number of different applications are built from and run as regular jobs on a cron or as post-processed tasks. At the moment each 'application' is run from a…
Bogdanovist
  • 1,498
  • 2
  • 11
  • 20
1
vote
1 answer

IDL Transforming a PNG Given Input Image and Location of Output Pixels

I'm using IDL to take an image of the outside surface of a cylinder and flatten it to obtain a roughly accurate non-curved picture. I have already done the math necessary to know that given an input pixel at location (x,y)[with 0,0 being the center…
1
vote
1 answer

Idl readcol function, using delimeter without syntax error

Im trying to use idl to read a file, so im using the readcol command. However, in my file i use | as a delimiter, but continually get syntax errors. Heres my latest attempt: readcol,'kcorrins.txt',uband, gband, rband, iband, zband, $ ubanderr,…
user3715675
  • 183
  • 1
  • 2
  • 7
1
vote
2 answers

Dimension of a TIF file as "420x560x3" - Matlab to IDL

I am trying to create a movie in Matlab using series of functions under VideoWriter function. My code is somewhat like one shown below: vidObj=VideoWriter('movie.avi'); open(vidObj); for i=1:N %N is number of…
1
vote
1 answer

Error: "Keyword parameters not allowed in call."

I am very new to IDL so forgive me if this seems dumb. I am trying to simply read a .tif image and let IDL show the image. My commands were: IDL> a=read_image('frame_1.tif') IDL> help, a then I receive A BYTE = Array[3, 560,…