Welcome to iraf.net Friday, April 26 2024 @ 01:35 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 How background is calculated using
   
xyz
 11/02/2015 08:24AM (Read 924 times)  
+----
Newbie

Status: offline


Registered: 10/30/2015
Posts: 1
How background is calculated using "centroid" option in "fitskypars" sub-task in "phot" task ?

I have read IRAF help page. But it did not describe the details.

Help says: "Compute the intensity weighted mean of the sky pixel histogram."

What does this mean in detail ?


 
Profile Email
 Quote
fitz
 11/04/2015 06:28AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

The details are described by an algorithm more than an equation I can easily reproduce here. The description for the procedure used is:


# AP_CENTROID -- Procedure to find the mode, width and skew of the sky
# distribution by computing the moments of the histogram.


and you can find the code in $iraf/noao/digiphot/apphot/fitsky/apcentroid.x if you want to trace through the details. AFAIK, all the background calculations take into account fractional pixels in the apertures. You should also be aware that the FITSKY task exists to compute just the sky values if you want to check parts of the image, however the same algorithm appears to be used from the PHOT task using centroid. Hope this helps.

 
Profile Email
 Quote
   
Content generated in: 0.09 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login