fix ave/spatial question

Not exactly. But you can use the fix ave/spatial region keyword to only bin
and average atoms within a spatial region. So if you define your bins to
align with the “interval” you want, and also define the region to also
be the “interval”, then you get the output you want (plus some zeroes for
bins outside the interval).

Steve