/**
     *
     * @param standardValuesMap
     */
public void updateRawRatioDataModelsWithPrimaryStandardValue(Double[] standardValuesMap) {
        // since ratios are sorted, we send in ordered array of corresponding standard values
        //TODO: make more robust
        SortedSet<DataModelInterface> ratiosSortedSet = getRatiosForFractionFitting();//getValidRawRatios();
        int count = 0;
        Iterator<DataModelInterface> ratiosSortedSetIterator = ratiosSortedSet.iterator();
        while (ratiosSortedSetIterator.hasNext()) {
            DataModelInterface ratio = ratiosSortedSetIterator.next();
            ((RawRatioDataModel) ratio).setStandardValue(standardValuesMap[count]);
            // oct 2012 check for zero or missing standard ratio and remove ratio from fractination consideration
            //if ( standardValuesMap[count] == 0.0 ) {
            ((RawRatioDataModel) ratio).setUsedForFractionationCorrections(standardValuesMap[count] != 0.0);
            //}
            count++;
        }
    }
public void updateRawRatioDataModelsWithPrimaryStandardValue(Double[] standardValuesMap) {
// since ratios are sorted, we send in ordered array of corresponding standard values
//TODO: make more robust
SortedSet<DataModelInterface> ratiosSortedSet = getRatiosForFractionFitting();//getValidRawRatios();
int count = 0;
Iterator<DataModelInterface> ratiosSortedSetIterator = ratiosSortedSet.iterator();
while (ratiosSortedSetIterator.hasNext()) {
DataModelInterface ratio = ratiosSortedSetIterator.next();
((RawRatioDataModel) ratio).setStandardValue(standardValuesMap[count]);
// oct 2012 check for zero or missing standard ratio and remove ratio from fractination consideration
//if ( standardValuesMap[count] == 0.0 ) {
((RawRatioDataModel) ratio).setUsedForFractionationCorrections(standardValuesMap[count] != 0.0);
//}
count++;
}
}
public void updateRawRatioDataModelsWithPrimaryStandardValue(Double[] standardValuesMap) {
// since ratios are sorted, we send in ordered array of corresponding standard values
//TODO: make more robust
SortedSet<DataModelInterface> ratiosSortedSet = getRatiosForFractionFitting();//getValidRawRatios();
int count = 0;
Iterator<DataModelInterface> ratiosSortedSetIterator = ratiosSortedSet.iterator();
while (ratiosSortedSetIterator.hasNext()) {
DataModelInterface ratio = ratiosSortedSetIterator.next();
((RawRatioDataModel) ratio).setStandardValue(standardValuesMap[count]);
// oct 2012 check for zero or missing standard ratio and remove ratio from fractination consideration
//if ( standardValuesMap[count] == 0.0 ) {
((RawRatioDataModel) ratio).setUsedForFractionationCorrections(standardValuesMap[count] != 0.0);
//}
count++;
}
}
public void updateRawRatioDataModelsWithPrimaryStandardValue(Double[] standardValuesMap) {
// since ratios are sorted, we send in ordered array of corresponding standard values
//TODO: make more robust
SortedSet<DataModelInterface> ratiosSortedSet = getRatiosForFractionFitting();//getValidRawRatios();
int count = 0;
Iterator<DataModelInterface> ratiosSortedSetIterator = ratiosSortedSet.iterator();
while (ratiosSortedSetIterator.hasNext()) {
DataModelInterface ratio = ratiosSortedSetIterator.next();
((RawRatioDataModel) ratio).setStandardValue(standardValuesMap[count]);
// oct 2012 check for zero or missing standard ratio and remove ratio from fractination consideration
//if ( standardValuesMap[count] == 0.0 ) {
((RawRatioDataModel) ratio).setUsedForFractionationCorrections(standardValuesMap[count] != 0.0);
//}
count++;
}
}