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

Check the dx value of numerical differentiation is actually valid for my hydrostatic mass calculation #426

Closed DavidT3 closed 3 years ago

DavidT3 commented 3 years ago

The problem with numerical differentiation is I need to set the dx value, this could affect the mass calculated quite a lot.

This is why I want to find analytical expressions for the differentiations of the density and temperature profile models I use

DavidT3 commented 3 years ago

Less relevant now I have rejigged the way I do models, I can easily set different values for different radius units (0.001 kpc works really for kpc for instance)