comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » trying to pass parameter
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
trying to pass parameter [message #88882] Tue, 01 July 2014 03:39
SUNIL CHOUDHURY is currently offline  SUNIL CHOUDHURY
Messages: 11
Registered: June 2014
Junior Member
HI
i am a student doing some work on envi+idl.
I want to pass parameter in math_doit routine
code:
a sample code


File = Filepath('qb_boulder_msi', Root_Dir = e.Root_Dir, $
Subdir = ['data'])
Raster = e.OpenRaster(File)


OutFile = e.GetTemporaryFilename()


fid = ENVIRasterToFID(Raster)


ENVI_File_Query, fid, DIMS=dims
ENVI_Doit, 'Math_Doit', $

FID = [fid, fid], $

DIMS = dims, $

POS = [0,1], $

EXP = 'b1 + b2'+sin(x), $

0UT_NAME = OutFile


b1 and b2 are band values which is being selected
i want to pass parameter x in the expression using widget



so kindly help me..

thank you !
sunil choudhury
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem in performing band operation on image file
Next Topic: gauss_smooth with integers

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:40:41 PDT 2025

Total time taken to generate the page: 0.00511 seconds