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

Home » Public Forums » archive » cosine weighting
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: cosine weighting [message #74836 is a reply to message #74799] Wed, 02 February 2011 19:37 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
I'd do something like:

latitudes = -87.5 + 5. * findgen(36)
latitudes_matrix = rebin(transpose(latitudes), 612, 2592, /sample)

matrix *= cos(latitudes_matrix * !dtor)
[Message index]
 
Read Message
Read Message
Previous Topic: Writing an efficient array operation in IDL
Next Topic: Lists in strsplit

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

Current Time: Wed Oct 08 18:24:20 PDT 2025

Total time taken to generate the page: 0.00218 seconds