b1quint / samfp-tools

Short scripts to process data obtained with SAM-FP at SOAR Telecope
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Find center of the rings #6

Closed b1quint closed 7 years ago

b1quint commented 7 years ago

phmxtractor.py does not work properly if the data-cube was binned before.

b1quint commented 7 years ago

phmxtractor can not find the center of the rings if the line is at the beginning of the cube and jump to its end. That's it, if it walks a FSR inside the cube. Now what?

b1quint commented 7 years ago

Used scikit-learn and the MeanShift algorithm to find the different clusters of data. For now, it actually only works for two clusters of data. That means that it works fine if the data-cube has less than of a FSR up to a bit more than a FSR. For a very long cube with 2 or more FSR (which is very unlikely to happen), this was not and will not be tested.