* @see ca.eandb.jmist.framework.TaskWorker#performTask(java.lang.Object, ca.eandb.util.progress.ProgressMonitor)
*/
public Object performTask(Object task, ProgressMonitor monitor) {
PhotometerTask info = (PhotometerTask) task;
MaterialPhotometer photometer = new MaterialPhotometer(collector, info.wavelength.getColorModel());
photometer.setSpecimen(info.specimen);
photometer.setIncidentAngle(info.incident);
photometer.setWavelengthPacket(info.wavelength);
photometer.castPhotons(info.samples, monitor);
return photometer.getSensorArray();
}