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

Home » Public Forums » archive » Pixelwise temporal trend, problem with REFORM
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
Pixelwise temporal trend, problem with REFORM [message #75293] Wed, 23 February 2011 04:04
Giuseppe Papa is currently offline  Giuseppe Papa
Messages: 27
Registered: February 2010
Junior Member
Hi All, I am trying to perform multi-temporal pixelwise linear regression on stack images using LINFIT(X,Y). For that both X and Y should have the same dimension. My stack image = Y and has 3 Dims

my_stack=FINDGEN(n_elements(all_files),xsize, ysize)

Whereas X refers to the time and is defined as

x=INDGEN(n_elements(all_files))
X INT=Array[4]
IDL> print, x
0 1 2 3
I am trying to use REFORM to rescale X to the size of Y but unsuccessfully
Error message: REFORM: New subscripts must not change the number elements in X.
I also tried to do a combination of reform and rebin but rebin allows to multiply by the factor of the X Dim.

Any suggestion would be much appreciated
Thanks, Aga
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: howto select and deselect plotting windows?
Next Topic: Re: subverting IDL builtin variables !FORMYOWNPURPOSES

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

Current Time: Wed Oct 08 15:50:20 PDT 2025

Total time taken to generate the page: 0.00466 seconds