Data definition update

Hi @dbkeator,

This is a proposal to update your `Data` definition re-using part of the `medianIntensity` term definition written with @nicholst. Would you be okay with this update?

Thank you.