Re: Plot difference [message #66243] |
Mon, 27 April 2009 13:35 |
Giorgio
Messages: 31 Registered: March 2008
|
Member |
|
|
Thanks Jeremy, with reform the plots are the same. However, I do not
understand why with rebin the result is different. I suppose I should
read the manual carefully.
On Apr 27, 12:55 pm, Jeremy Bailin <astroco...@gmail.com> wrote:
> On Apr 27, 3:32 pm, Giorgio <giorgiol...@gmail.com> wrote:
>
>
>
>> Hi,
>> From 10 measurements of a CCD camera with a size of (1293 x 840)
>> points I calculate the mean and the standard deviation. I get
>> different plots if I plot just the 2D data or if I rebin to make a 1D
>> vector.
>> Let's say that my 2D arrays for the mean is called average and the
>> standard deviation is standard. Then the results are different if I
>> do:
>
>> plot, average, standard, psym = 4
>
>> and
>
>> plot, rebin(average, N_Elements(average)), rebin(standard, n_elements
>> (standard)), psym = 4
>
>> Any hint why is that?
>
>> Thanks,
>
>> Giorgio
>
> I think you mean reform instead of rebin.
>
> -Jeremy.
|
|
|
Re: Plot difference [message #66244 is a reply to message #66243] |
Mon, 27 April 2009 12:55  |
Jeremy Bailin
Messages: 618 Registered: April 2008
|
Senior Member |
|
|
On Apr 27, 3:32 pm, Giorgio <giorgiol...@gmail.com> wrote:
> Hi,
> From 10 measurements of a CCD camera with a size of (1293 x 840)
> points I calculate the mean and the standard deviation. I get
> different plots if I plot just the 2D data or if I rebin to make a 1D
> vector.
> Let's say that my 2D arrays for the mean is called average and the
> standard deviation is standard. Then the results are different if I
> do:
>
> plot, average, standard, psym = 4
>
> and
>
> plot, rebin(average, N_Elements(average)), rebin(standard, n_elements
> (standard)), psym = 4
>
> Any hint why is that?
>
> Thanks,
>
> Giorgio
I think you mean reform instead of rebin.
-Jeremy.
|
|
|