Open DavidT3 opened 3 years ago
A problem which I suspect is related is that if you delete the profiles but have a profile fitted in XSPEC it will not make a new profile on re-run, and XGA will not find a matching temperature profile when you run the mass function.
Actually, I think its because in the onion_deproj_temp_prof function, I don't check for existing, matching, 3D temperature profiles already stored within the source. So it just builds another one, should be very easy to fix.
Running inv_abel_dens_onion_temp multiple times for bug checking is generating many EM, temp, and density profiles.