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

Home » Public Forums » archive » Completing a Gaussian Fit
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
Completing a Gaussian Fit [message #57483] Wed, 12 December 2007 14:02 Go to next message
rpertaub@gmail.com is currently offline  rpertaub@gmail.com
Messages: 43
Registered: January 2007
Member
Hello,
I have a problem I am not sure how to go about...more of a physics
question maybe than IDL, but does not hurt to ask...

I have an image of a spot. The spot can be assumed to be fairly
Gaussian, i.e bright in the middle and dissipating as radius
increases. All is good. Except say now I have only part of the spot.
(Say if radius is 30, I have only a spot of radius 5). How do I model
a Gaussian based on only this information and nothing else? I have no
idea the intensity at the std deviation point, or radius 15? Is it
possible? How does IDL do Gaussian fit?
Thanks,RP
Re: Completing a Gaussian Fit [message #57574 is a reply to message #57483] Thu, 13 December 2007 01:21 Go to previous message
Bringfried Stecklum is currently offline  Bringfried Stecklum
Messages: 75
Registered: January 1996
Member
rpertaub@gmail.com wrote:
> Hello,
> I have a problem I am not sure how to go about...more of a physics
> question maybe than IDL, but does not hurt to ask...
>
> I have an image of a spot. The spot can be assumed to be fairly
> Gaussian, i.e bright in the middle and dissipating as radius
> increases. All is good. Except say now I have only part of the spot.
> (Say if radius is 30, I have only a spot of radius 5). How do I model
> a Gaussian based on only this information and nothing else? I have no
> idea the intensity at the std deviation point, or radius 15? Is it
> possible? How does IDL do Gaussian fit?
> Thanks,RP
This is fairly easy. You just need to apply a mask on your model image
when computing the chisquare during the minimization, i.e. something like

mask=(object gt sigma*noise)
chisq=mask*(object-model)^2

Of course the model parameters will be more uncertain if the observed
fraction of the Gaussian image becomes smaller. In other words, you need
fairly high signal-to-noise to get meaningful results.

regards,

B. Stecklum
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 2 questions
Next Topic: One title to rule them all...

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

Current Time: Wed Oct 08 17:33:36 PDT 2025

Total time taken to generate the page: 0.02322 seconds