rfinn / HalphaImaging

0 stars 2 forks source link

code to calculate gini coefficient #15

Closed rfinn closed 1 year ago

gammaspire commented 6 years ago

I have a tentative version that combines astropy's Cutout2D and a fitted ellipse, but the ellipse is only used to constrain the dimensions of the rectangle that Cutout2D creates. (Following around a week of trying, I could not determine how to extract values from pixels encompassed by an ellipse. If we (or I) manage to identify how to do so, it would be helpful to compare the rectangle's Gini output to that of the ellipse.)

I will be trying the mask approach tomorrow.

rfinn commented 1 year ago

This is now done in halphagui code