waynebhayes / SpArcFiRe

SPiral ARC FInder and REporter - find spiral arcs in galaxies.... and maybe hurricanes too?
9 stars 16 forks source link

Fixes to mean guiding and fits conversion #57

Closed sky121 closed 3 years ago

sky121 commented 3 years ago

Creating the Mean Image of a Galaxy

The createMeans script is built to create the mean image of a galaxy when give the different wavebands of the galaxy. It is used in my mean_guide script to create the mean of the galaxy for threshold guiding.

mean_guide script

This script is run: mean_guide galaxy_number output_directory It locates a galaxy in Anthony's aligned galaxies collection and creates the mean image of it using createMeans. It then takes this mean image and runs SpArcFiRe which each different imageGuidingThreshold 0 0.25 0.5 0.75 1 and for each waveband of the galaxy and outputs the result to the output_directory.

Fix to mean guiding

Adjusted Alan's mean guiding code to run the mergeClusterByFit before using the guiding threshold to determine valid arm segments.

Update to Fits Conversion Parameter

After testing many different parameters and I determined 0.95 for the Qlvl to have the best result.