catherinezucker / radfil

Building Radial Density Profiles for Interstellar Filaments
GNU General Public License v3.0
14 stars 8 forks source link

Outlier removal #3

Closed hopehhchen closed 7 years ago

hopehhchen commented 7 years ago

Apply outlier removal in background subtraction, and maybe in profile fitting as well.

This is done mostly by sigma clipping in astropy.modeling. See documentation and examples.

hopehhchen commented 7 years ago

Done for background subtraction.

@catherinezucker, did you remove the outliers when fitting the main profile? Thanks!

hopehhchen commented 7 years ago

See de225a8c0dc66a1f377331eefde7e39ed3ce49a3.

hopehhchen commented 7 years ago

Done. No outlier removal is done when fitting Gaussian and Plummer. This retains complete information from the cuts/sampling pixels.