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

blobs indices and mask it in continuum image

I need to find blobs indices and then mask them at the continuum image. Who can help me? please let me know how can I list the indices of blobs. I use blob_analyzer to analyze the images. Cheers Mahtab
mgh
  • 1
  • 2
0
votes
1 answer

Fitting user defined function with MPFIT in IDL

I am trying to fit a decaying exponential function of the form: A1 - A1exp(-x/A2) to a set of (x,y) values with error bars on y values. I am using the IDL MPFIT function to perform this non linear fit. function gfunct, xsig, A return, A[0] -…
Rob S
  • 27
  • 1
  • 7
0
votes
2 answers

KEYWORD_SET in IDL

I am new to IDL and find the KEYWORD_SET difficult to grasp. I understand that it is a go no go switch. I think its the knocking on and off part that I am having difficulty with. I have written a small program to master this as such Pro…
0
votes
1 answer

call routine in IDL programming lanuage

I am new and learning IDL on a steep curve. I have 2 PROS first one follows Pro READ_Netcdf1,infile,temperature,time,print_prompts=print_prompts COMPILE_OPt IDL2 infile='D:/Rwork/dataset/monthly_mean/version_2C/air.2m.mon.mean.nc' IF…
0
votes
1 answer

Importing a string from NCDF4 file with IDL

I am new to IDL I am importing data from an NCDF4 into IDL. All the variables that are numeric import perfectly. However station name comes in as an array of 200. An example of the output is :- 84 82 69 76 69 87 95 65 69 82 79 32 32 32…
0
votes
0 answers

using setsockopt() for config Connections

How we can work with setsockopt and it constants for configure our connection for example: socket.setsockopt(socket.SOL_SOCKET,SO_BROADCAST,1) what does SOL_SOCKET and SO_BROADCAST in code above?
0
votes
1 answer

IDL: Button Widget stops updating after one push

I'm pretty new to IDL and as a way to learn I have tried to create a number guessing game. I have a Widget with three buttons: One that tells the program the number you are thinking of is larger than the one the computer asks about, one if it's…
sCuper
  • 91
  • 2
  • 8
0
votes
2 answers

How to find the sum of array elements using idl\gdl program?

I am using readfits.pro program to read the FITS file which is giving array of struct type. Which program should I use so that I can find the sum of the elements the obtained array?
Arya Stark
  • 11
  • 4
0
votes
1 answer

Translating IDL code to Python

The IDL code I'm trying to write in Python calculates a background noise from a series of values in function of its standard deviation. Here's the code: ; (INPUT) ; data = 1-D array of intensities ; (OUTPUT) ; bck,sig = background and fluctuations…
Ricardo Fumachi
  • 79
  • 1
  • 11
0
votes
2 answers

Extract information from fits files in a list of directories but having trouble cd-ing via scripting

I'm writing a script and need for cd to iterate through a bunch of subdirectories but I can't get the shell to commit to the cd, much less execute the rest of the script properly. I've pored over similar questions but none of them have answered me…
tashton
  • 59
  • 7
0
votes
1 answer

IDL vs. Python Float

I have been translating IDL code into Python and noticed differences in the end products. The differences are not negligible either (e.g. via IDL I get 19.03 while Python yields 19.16). I confirmed that the two scripts yield the same values (they…
tnknepp
  • 5,888
  • 6
  • 43
  • 57
0
votes
0 answers

Replace For-loop to remove blobs (IDL)

I have the following function to identify blobs in an image, and remove them if they are under a certain size. With the for-loop the removal is of course very slow, if there are a lot of blobs, now my question is, is it possible to replace the…
Matty
  • 63
  • 1
  • 9
0
votes
1 answer

Create a structure in IDL

I would like to create a structure in IDL and put the information from my ASCII file. The problem is that I have several ASCII files and always the number of columns and rows are different. For example, I have the ASCII file "data.dat" and has 50…
Lorz.Astro
  • 23
  • 7
0
votes
1 answer

IDL Remove columns and rows of 3D array

I have an array which has dimensions [385,417,513] which corresponds to a 3D data cube for a quantity. I want to remove every nth element of each dimension to reduce the data size of the array and make it easier to plot. E.g remove every 5th…
Tomi
  • 179
  • 1
  • 13
0
votes
1 answer

the solution of equation with IDL

how do i get the solution of equation with newton method in IDL,my procedure will provide the various( tile in here),but the newton method id IDL just recive the initially solution of equation. please help me for my thesis for remote sensing image…
Kevin Lee
  • 89
  • 1
  • 1
  • 4