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
votes
1 answer

Mask/CLIP Raster images with different resolution in IDL

I want to clip/mask raster image (500meters resolution) by another raster images (10 km resolution) using IDL Programming after the clip/mask process image should be in 500 meters resolution. I have 365 images pair and I want to a process by IDL…
-1
votes
1 answer

How to save result from loop and save them in a new array?

I am trying to save the results of loop in a new array, then plot them. But now I can only save the last value comes from the loop. How can I save all the results from the loop? for j=1,200 do begin h = where(o eq j,ct3) if (ct3 ne 0) then…
-1
votes
1 answer

convert an R script to IDL: Array manipulation

I am an R and IDL beginner. Im trying to convert an R script to IDL. R can do array manipulation with t1 (array[100000]) but IDL cannot. ERROR: Array subscript for CZ must have same size as source expression s1= 100000. c1 = array[200000] n1 =…
-1
votes
2 answers

Picking out a single row in a FITS table with Astropy

I "simply" want to read in an (Astronomy) FITS table, and pick out all the information on one object via its name:: from astropy.io import fits dr7q = fits.open('Shen_dr7_bh_May_2010.fits') tbdata = dr7q[1].data w = tbdata[tbdata['SDSS_NAME'] ==…
npross
  • 1,756
  • 6
  • 19
  • 38
-1
votes
1 answer

what dose socket.INADDR_* do

I have an issue with socket.INADDR_* constant of Python socket I cant understand what dose these constants do? For example: socket.INADDR_LOOPBAD socket.INADDR_RESERVED What does the above options do?
Alex
  • 3
  • 3
-1
votes
1 answer

Chances of IDL in Image processing

I am a software engineer working in Medical Imaging.I have just started using the language IDL and i feel very comfortable with it.As a new member in this field with a language like IDL, i would like to know the chances of IDL in this field.Can any…
Kiran Joshy
  • 105
  • 10
-1
votes
1 answer

Running IDL routines from Java

I want to run an IDL routine (this, specifically) from some Java code I'm writing. If possible, I'd like to be able to pass arrays and scalars to and from both languages. Is this at all possible?
arnbobo
  • 2,515
  • 2
  • 12
  • 18
-1
votes
1 answer

Equivalent of IDL's then begin statement in python

Just wondering, I have a for loop in IDL I am looking to convert. I have in IDL: if ... then begin I'm thinking this is just equivalent to if ...: In python, with the colon being then "then begin" command... Just looking for confirmation on this,…
user3125347
-1
votes
1 answer

What is the equivalent of dblarr(3,3) in C#?

How can I convert this to C# equivalent? togeolat=dblarr(3,3) togeolat[0,0]=cos(!DPI/2-Dlat) togeolat[0,2]=sin(!DPI/2-Dlat) togeolat[2,0]=-sin(!DPI/2-Dlat) togeolat[2,2]=cos(!DPI/2-Dlat) togeolat[1,1]=1. Is it just a 3 x 3…
erotavlas
  • 4,274
  • 4
  • 45
  • 104
-1
votes
1 answer

Declare variables in for loop for files with different number of samples (IDL)

I would like to do exactly what is explained in the answer by Jim Lewis to the post below (see link) in the case that each file contains a different number of samples. Jim states that this can be done using PTR_NEW. Any ideas how to use PTR_NEW in…
-2
votes
1 answer

IDL WHERE in python?

I am having trouble translating an old IDL script to python- my issue lies in understanding exactly how to interpret IDL's "WHERE" function. Here is my code: FUNCTION noise,day,y N = N_ELEMENTS(y) valid = WHERE(ABS(day[0:N-3]-day[2:N-1]) LT…
1 2 3
21
22