I am trying to plot the distribution of CCSNe in the Galaxy and the LMC+SMC using the Adams et al. 2013 data in /data/stellar/. Below is a minimal example. I find duplicate values for the distance (e.g. 60 kpc) and a non-monotonous array for the distances. After 62.5 kpc the distances jump back to 53.75 kpc.
from asteria.stellardist import StellarDensity
distribtion = StellarDensity("path/to/asteria/data/stellar/sn_radial_distrib_adams.fits", add_LMC=True, add_SMC=True)
dist = distribtion.dist
cdf = distribtion.cdf
plt.plot(dist, cdf)
plt.xlim(50,66) # zoom in on the jump
plt.ylim(0.97,1)
plt.xlabel("distance")
plt.ylabel("cdf")
I also noticed that the paper does not show any probability beyond the edge of the Milky Way. How is the LMC+SMC data provided in ASTERIA?
I am trying to plot the distribution of CCSNe in the Galaxy and the LMC+SMC using the Adams et al. 2013 data in
/data/stellar/. Below is a minimal example. I find duplicate values for the distance (e.g. 60 kpc) and a non-monotonous array for the distances. After 62.5 kpc the distances jump back to 53.75 kpc.I also noticed that the paper does not show any probability beyond the edge of the Milky Way. How is the LMC+SMC data provided in ASTERIA?