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

Home » Public Forums » archive » PDE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: PDE [message #93853 is a reply to message #93850] Mon, 07 November 2016 04:29 Go to previous message
Markus Schmassmann is currently offline  Markus Schmassmann
Messages: 129
Registered: April 2016
Senior Member
On 11/05/2016 02:58 PM, AGW wrote:
> On Saturday, November 5, 2016 at 11:19:57 AM UTC+2, AGW wrote:
>> Hi,
>> How can I write this equation in idl
>>
>> ∑_i〖V_i*〖(∂I/∂λ)〗_i 〗
>
> where
> vint=[4,18]
> λ=findgen(vint(1)-vint(0)+1)-(vint(1)-vint(0))/2.
>
> for i=0,nx-1 do begin
> for j=0,ny-1 do begin
>
> SI=stokesout[i,j,vint(0):vint(1),0]
> SV=stokesout[i,j,vint(0):vint(1),3]
IdL=(stokesout[*,*,vint[0]+1:vint(1)+1,0]-stokesout[*,*,vint [0]+1:vint(1)+1,0])/2.
out=total(sv*IdL,1)

if the wavelength positions form [3:19] are not uniform, your have to
divide out an array instead of 2.

I hope this is what you are looking for, Markus
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Changing variable type
Next Topic: graphics title - bigger brackets

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

Current Time: Wed Oct 08 14:01:09 PDT 2025

Total time taken to generate the page: 0.00393 seconds