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

Home » Public Forums » archive » Re: fitting after rebinning
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: fitting after rebinning [message #57343] Thu, 06 December 2007 17:14 Go to previous message
Greg Hennessy is currently offline  Greg Hennessy
Messages: 45
Registered: November 2005
Member
On 2007-12-07, biophys <biophys@gmail.com> wrote:
> Well I do this kinda
> fitting almost everyday with CCD images. If you can imagine each data
> point of the image array as the readout of a CCD array, you will
> understand this almost immediately.

Well, I should have understood it immediately.

> To proper scale the results before and after rebin you just have
> to get rid of the half pixel "offset" and do the scale and add back
> the half pixel back after scaling. e.g.
> 255.5+0.5=(31.5+0.5)*(512/64)=(7.5+.5)*(512/16)

I had been trying to subtract the half pixel, and my math wasn't
working, adding it would have given me the math you showed here.

I really hate dealing with those half pixel offsets.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Centered VIEW in PS file using IDLgrClipboard
Next Topic: Problem with ENVIZOOM

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

Current Time: Fri Oct 10 21:19:20 PDT 2025

Total time taken to generate the page: 0.39597 seconds