Open jbfaden opened 2 years ago
CADENCE_MAX would be used for interpolation, CADENCE_MIN would be used for extrapolation.
Note some care is needed with CADENCE_MAX or CADENCE_MIN being missing while CADENCE is present. If CADENCE_MAX is missing, does it mean that CADENCE should be used, or that there's no apparent CADENCE_MAX? How about with CADENCE_MIN?
I was just running into an issue with one of the guessCadence codes, this one where I try to use GCD of the diffs: DataSetUtil.guessCadence. There really needs to be a solid definition of cadence and a solid routine to identify it.
I've been thinking about adding QDataSet.CADENCE_MIN and QDataSet.CADENCE_MAX, which would be alternatives to QDataSet.CADENCE. This would fix a problem were sometimes you want to know an upper or a lower limit, and this would allow codes and datasets to support this. I've always imagined that QDataSet.CADENCE might be allowed to be a rank 1 dataset, and this might be a better solution here as well.
As with any QDataSet property, any property can be missing, and the three must be considered as group now, CADENCE_MIN=CADENCE_MAX -> CADENCE=CADENCE_MIN, etc.