https://github.com/ETSInitiative/PETSIRD/blob/fa2f04321cba17233817062d64251ed4df72caf9/cpp/helpers/petsird_generator.cpp#L74-L75 needs to use `(Nx-1)` as per the Python example.