|  |  |  |  | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1638 Views
										Curvefit=>Calulate T1/2 (Nuclear Medicine)  1638  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Does anyone knows how to calulate T1/2(half-life of a radioactive substance) with the function curvefit I have that :
  weights = 1.0/Y
  A = &91120.0,-0.1,0&93
  yfit = CURVEFIT(X, Y, weights, A, SIGMA, FUNCTION_NAME='gfunct')
  PRINT, 'Function parameters: ', A 
 
But I don't know what to do in the gfunct  proc. |  |  |  | 1 | 1638 | 16 Jul 2015 02:59 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1782 Views
										Missing ENVITASKs  1782  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi,
I'm running ENVI 5.2 and IDL 8.4. According to the online documentation I should have access to ENVITasks such as ImageToImageRegistration and GenerateTiePointsByCrossCorrelation. However, ENVI doesn't recognize these and they are not in the task list ( e.TASK_NAMES ). Aren't these available in 5.2
Thanks! |  |  |  | 1 | 1782 | 15 Jul 2015 01:45 PM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1830 Views
										Command line IDL  1830  1
										Started by  Zachary Norman
										
										
										
											
											
											
											
											
											
										
										
										Is there a way to start up IDL and have it run some pro code, then exit automatically |  |  |  | 1 | 1830 | 15 Jul 2015 10:08 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1773 Views
										Single Board Linux Box  1773  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hello,
I am working on a project for my lab, where we need a small single board pc that can run an IDL script in the runtime environment. Originally, a raspberry pi was to be used, but I was not aware at the time that ARM CPU's had a completely different architecture from the x86 and x86_64 architectures.
I am now looking at a different board. This board has an 64-bit Intel Atom E38xxx series processor clocked at 1.33 GHz and houses 2 GB of ram. I plan to have the board run Ubuntu, Arch Linux, o... |  |  |  | 1 | 1773 | 15 Jul 2015 09:26 AM | 
						
						
						
							| 
									
									| 
 | 3 Replies and 1647 Views
										Issue with displaying 3D using surface()  1647  3
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi, 
    I require to get colours of the TEXTURE_IMAGE onto the DEM.I have failed to understand as to why I'm getting the output in "black" even after subjecting the TEXTURE_IMAGE with a color composite array named "overview" (as shown in the URL below)
         URL:  https://www.dropbox.com/s/79gqsywr66j3ftp/issue.PNGdl=0 
Please let me know your thoughts on this. 
Context: 
1).Both DSM and texture image's arrays were obtained by reading tiff files (yup I've rotated the ... |  |  |  | 3 | 1647 | 15 Jul 2015 07:37 AM | 
						
						
						
							| 
									
									| 
 | 2 Replies and 1581 Views
										Widget_Info /Valid_Id  1581  2
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Can anyone tell me when the validity of a widget should be checked using the keyword Valid_Id for Widget_Info 
Thanks |  |  |  | 2 | 1581 | 14 Jul 2015 04:01 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1654 Views
										Widget_Button menu item insensitive  1654  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi,
I'm trying to add a new menu item with 3 buttons.  For some reason when it is displayed the very first button is insensitive.  I've tried to set the sensitivity but it makes no difference.
Here is a cut down version of my procedure.
PRO MyMenu
    wTopLevelBase = Widget_Base(/COLUMN, UNAME='wTopLevelBase', Title='Test', MBAR=wMenuBase)
    wFileMenu = Widget_Button(wMenuBase, UNAME='wFileMenu', /MENU, VALUE='File')
    wExitButton = Widget_Button(wFileMenu, UNAME='wExitButton', VALUE='Close'... |  |  |  | 1 | 1654 | 13 Jul 2015 02:55 AM | 
						
						
						
							|  | 1 | 1935 | 10 Jul 2015 07:13 PM | 
						
						
						
							| 
									
									| 
 | 5 Replies and 2344 Views
										Does IDL for Linux work on Raspberry Pi?  2344  5
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										QUESTION:
Hello,
I am trying to run IDL on a raspberry pi runningLinux Debian Wheezy. When I run the program after install, I am getting anerror saying that it cannot recognize the system architecture. |  |  |  | 5 | 2344 | 10 Jul 2015 02:55 PM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 2191 Views
										Font size when using printf to output to a text file  2191  1
										Started by  Zachary Norman
										
										
										
											
											
											
											
											
											
										
										
										Is there a way to change the size of text printed to a file with printf When I opened the text file in Word Pad the font size was 11 and I would like a different font size. |  |  |  | 1 | 2191 | 09 Jul 2015 11:56 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1630 Views
										Widget_Draw Question  1630  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi, I was wondering if it's possible to reset the content of a Widget Draw cause', for exemple, i've wrote an 'XYOUTS' on it and i want to delete it.
Thanks. |  |  |  | 1 | 1630 | 09 Jul 2015 05:12 AM | 
						
						
						
							| 
									
									| 
 | 2 Replies and 1830 Views
										error when starting IDLDE in Fedora 22  1830  2
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Dear all,
I have IDL 7.1.1 installed in Fedora 22 64bit. 
Computer: Intel® Core™ i7-4790 CPU  3.60GHz × 8, 16G RAM
I get this error at IDLDE startup:
_idl_hidden_wbv_iopen_suffixes=strjoin(((igetreaders())&911:2,*&93)&91*&93,'')                                                      
                                                                                          ^
 Syntax error.
Then, nothing can be used....
Any ideas will be appreciated......Thanks! |  |  |  | 2 | 1830 | 06 Jul 2015 07:51 AM | 
						
						
						
							| 
									
									| 
 | 2 Replies and 1581 Views
										function graphic question  1581  2
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										hi 
here is simple example code 
    win = window() 
    p1 = plot(/test, /current) 
    p2 = plot(/test, sym='D', name='temp', /over) 
    
    ;lost p1 and p2 object.(is the object is correct) 
    p1 = 0 
    p2 = 0 
    ;but i can change the "p1" and "p2" property through "win" object. 
    win&91'plot'&93.thick=2 
    win&91'temp'&93.sym_color='red' 
    
    i think, the "p1" and "p2"... |  |  |  | 2 | 1581 | 05 Jul 2015 06:37 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 2613 Views
										Request help with simple hello world. --- Execution halted at: $MAIN$  2613  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										IDL user question:
Hello,
I am new to IDL and in early phase of learning. I wanted to create simple function to print Hello world and created helloworld.pro with following lines
function helloworld
print, 'Hello World'
end
I am however facing issue when I try to compile and run with below message - 
IDL> .compile -v 'C:\Users\Shreyas\IDLWorkspace84\Default\helloworld.pro'
 Compiled module: HELLOWORLD.
IDL> helloworld
 Compiled module: HELLOWORLD.
 Compiled module: HELLOWORLD.
... |  |  |  | 1 | 2613 | 02 Jul 2015 03:08 PM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1798 Views
										Analyse pixel of a ROI  1798  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Could somebody tell me how to collect the active pixels of a ROI |  |  |  | 1 | 1798 | 01 Jul 2015 07:09 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1898 Views
										Populating FITS Image Data into Grid Array  1898  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hello - I have a set of FITS images which I intend on fitting to an emission model. Then, I wish to take these models and populate a grid array with the emission (where each 1 deg x 1 deg corresponds to the emission intensity). Could someone direct me to the routines I'll need to: (1) extract from a FITS image and fit to an emission model and (2) populate a grid with the model data |  |  |  | 1 | 1898 | 29 Jun 2015 09:07 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 3188 Views
										IDL error dyld: Symbol not found: (*)  3188  1
										Started by  Zachary Norman
										
										
										
											
											
											
											
											
											
										
										
										I installed IDL 8.2 and tried to run it from the command line (which is
the way I normally run IDL), and I get the following error:
dyld: Symbol not found: _inflateReset2
  Referenced from: 
/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dy
lib
  Expected in: 
/Applications/exelis/idl82/bin/bin.darwin.x86_64/libz.1.dylib
 in 
/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dy
lib
Trace/BPT trap: 5
If you have any ideas f... |  |  |  | 1 | 3188 | 29 Jun 2015 08:40 AM | 
						
						
						
							| 
									
									| 
 | 2 Replies and 1791 Views
										assigning input image coordinate and projection info to output image  1791  2
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hello,
I am using the below code to generate a 1-band output image. The output image lacks any coordinate and projection info.
What do I need to add to the code to have the input image geographic coordinate and projection info added to the output image
Thank you for your help!
Here is the code:
c='E:\Hyperion_157bands\Hyperion_149bands.hdr' ; 
envi_open_file, c, r_fid=fid
if (fid eq -1) then return
;Figure out the image dimensions, using the anonymous structure created with
;the q... |  |  |  | 2 | 1791 | 26 Jun 2015 10:50 AM | 
						
						
						
							| 
									
									| 
 | 4 Replies and 2112 Views
										Issues with WINDOW  2112  4
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hello,
I'm using the following sequence to open a window for plotting:
winsize=500
w=window(DIMENSIONS=&912*winsize,winsize&93)
however, when IDL gets to this line in my program I get the following error:
Attempt to call undefined function: '_IDLITSYS_GETSYSTEM'
I've never had an issue with calling WINDOW before, but I just installed IDL on a new machine, and I'm now getting this error. Any suggestions |  |  |  | 4 | 2112 | 25 Jun 2015 11:39 PM | 
						
						
						
							| 
									
									| 
 | 3 Replies and 1661 Views
										applying partial least squares regression coefficient to hyperspectral image  1661  3
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hello,
I have a 67x67x149 (col, row, band) hyperpsectral image. I have partial least squares regression coefficients that correspond to each band and an intercept. I want to multiply the corresponding coefficients with the corresponding band's spectral data and add the intercept for each pixel. The final product would be a single band image. I have some preliminary code from other application that I was trying to adapt to my purpose which I will paste below. I am thinking the coefficients can be... |  |  |  | 3 | 1661 | 25 Jun 2015 12:55 PM |