Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Petrosian Radius calculation #39

Open
igorkolesnikov13 opened this issue Jan 18, 2023 · 3 comments
Open

Petrosian Radius calculation #39

igorkolesnikov13 opened this issue Jan 18, 2023 · 3 comments

Comments

@igorkolesnikov13
Copy link

Hello, I'm using Sextractor to run some benchmarks on the code I'm working on.
I'm mainly focused on Petrosial Radius (PETRO_RADIUS).

I have two main questions that I could not find in the documentation:

  1. Usually, Petrosian Radius is calculated on a fixed fraction of the total flux of the galaxy given by ETA function. The most common value of the fraction is 0.2. It seems that it is not possible to set this value as the input parameter. What value is used internally in Sextractor? Is it possible to influence it with some input parameters?
  2. Regarding units of PETRO_RADIUS. The documentation states that "Petrosian apertures in units of A or B". Im a bit confused in a sense, how can I convert it to pixels? Do I multiply by A or B? Or sqrt(A*B)?

Thanks ahead for the help.

@ebertin
Copy link
Member

ebertin commented Jan 20, 2023

Hi @igorkolesnikov13,

  1. Yes the fraction is 0.2 and it is hard-coded.
  2. In SExtractor automated aperture measurements, including Petrosian magnitudes, are done in an ellipse which is a scaled version of the ellipse derived from the 2nd order moments of the isophotal light distribution. So the area of the photometric aperture would be $\pi \times \tt{A\_IMAGE} \times \tt{B\_IMAGE} \times \tt{PETRO\_RADIUS}^2$ pixels.

@igorkolesnikov13
Copy link
Author

igorkolesnikov13 commented Jan 20, 2023

Hi @ebertin, thank you so much for the answer.

I was running some tests on galaxies from SDSS DR7. I found a pretty big difference between the Petrosian radius (Rp) provided by the SDSS catalog and that given by SExtractor (using default params, except for pixel scale). I used background subtracted and cleaned (without secondary objects) stamps as input.

To get the Rp in pixels from SExtractor, I used the formula for the area you provided earlier to get the area and then got the Rp with sqrt(area/pi).

I was wondering if you could point some direction for me to try to understand why there is such a difference, especially for elliptic galaxies.

f861559d-ae4c-4211-9b53-13d5ba8412c4

@ebertin
Copy link
Member

ebertin commented Feb 13, 2023

Hi @igorkolesnikov13, this is quite puzzling. It works fine with spiral galaxies (except for glitches for some galaxies), so the formula seems right. Did you try to change (lower) the detection (and analysis) thresholds ? In SExtractor measurements always depend a bit on the detection threshold, as the scaling of the measurement window depends partly on the object footprint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants