*
* @param integrationtime
*/
public void computeIntegrationTimeChange(Double integrationTime, int jPosition) {
IRange1D range = this.rangeModelsList.get(jPosition);
range.setIntegrationTime(integrationTime);
ITrajectory1D trajectory = (ITrajectory1D) ((IConfig1D) config).getDimensionX()
.getRangesXList().get(jPosition).getTrajectoriesList().get(0);
ITrajectory trajectoryImpl = getPartialTrajectory(trajectory);
// IRange1D rangeImpl = getPartialRange(range);
ITrajectory1D trajectoryResult = (ITrajectory1D) Config1DApi
.computeIntegrationTimeChange(trajectoryImpl);
IRange1D rangeResult = trajectoryResult.getRange();
if (rangeResult.getTrajectoriesList().size() == range.getTrajectoriesList().size()) {
int size = rangeResult.getTrajectoriesList().size();
for (int i = 0; i < size; i++) {
ITrajectory1D dst = (ITrajectory1D) range.getTrajectoriesList().get(i);
ITrajectory1D src = (ITrajectory1D) rangeResult.getTrajectoriesList().get(i);
swapTrajectory(dst, src);
}
}