DavidT3 / XGA

X-ray: Generate and Analyse is a module designed to make the analysis of XMM observations simple and efficient. It provides an interface with SAS for the creation of XMM data products, as well as a way to easily perform fits (scalable for multiple observations) and retrieve information about an object, all within a Python package.
BSD 3-Clause "New" or "Revised" License
29 stars 3 forks source link

Move the general PointSource and ExtendedSource classes to sources.point and sources.extended respectively #697

Open DavidT3 opened 2 years ago

DavidT3 commented 2 years ago

Do the same for their sample equivalents.

It was a nice idea structurally to keep them separate, but users expect them to be in the sections with the same name as them and I can hardly blame them.

It is remotely possible that this will break some codes, so this should only be released in a major version change, though the general behaviour of importing ExtendedSource from xga.sources that I normally use will not change.

DavidT3 commented 2 years ago

This gap in the user experience was made apparent by @letokotleto