spheres.utils.fix_stars

spheres.utils.fix_stars(old_stars, new_stars)[source]

Try to adjust the ordering of a list of stars to keep continuity, so that they are in the “same order.” Not always reliable.

Parameters
  • old_stars (list) – List of xyz coordinates.

  • new_stars (list) – List of xyz coordinates.

Returns

fixed_stars – List of xyz coordinates.

Return type

list