In outputs.py, the lightcone_coords attribute of a LightCone class is defined as follows:
def lightcone_coords(self):
"""Co-ordinates [Mpc] of each cell along the redshift axis."""
return np.linspace(0, self.lightcone_dimensions[-1], self.n_slices)
I believe the intention was to create an array with fixed intervals of cell_size. However, the code here does not achieve this because both ends are included, and the interval will be slightly increased from cell_size. Changing the above line to
In
outputs.py
, thelightcone_coords
attribute of aLightCone
class is defined as follows:I believe the intention was to create an array with fixed intervals of
cell_size
. However, the code here does not achieve this because both ends are included, and the interval will be slightly increased fromcell_size
. Changing the above line toshould do.