Slicing of CosmicRaysBase is not returning a CosmicRaysBase object but an np.ndarray