stella.adapter
Interface PostReducing

All Known Implementing Classes:
AuxiliaryGuidingUnit

public interface PostReducing

An interface that signals asynchronuous handling of reduced data. Intended if image exposure is separated from image reduction. Instances implementing this interface are notified in continuous StellaGuider.startContinuous(java.lang.String, int, int, int, int, stella.adapter.FrameShifting, stella.adapter.PostReducing) mode after each successful retrieval of star data from an image.
The only method #postReduce should either return fast or spawn its own thread.


Method Summary
 void postProcess(List<Guiding.RawStar> stars)
          This method is called by a StellaGuider in continuous mode, if an instance of this interface is assigned to the guider at StellaGuider.startContinuous(java.lang.String, int, int, int, int, stella.adapter.FrameShifting, stella.adapter.PostReducing).
 

Method Detail

postProcess

void postProcess(List<Guiding.RawStar> stars)
This method is called by a StellaGuider in continuous mode, if an instance of this interface is assigned to the guider at StellaGuider.startContinuous(java.lang.String, int, int, int, int, stella.adapter.FrameShifting, stella.adapter.PostReducing). It must return fast as its execution time directly adds to the reduction time of the reduce thread, thus, if grabbing resurces too long, exposures will not be taken continuous.
Most implementation will need synchronization of some sort.

Parameters:
stars - A list of Guiding#RawStars.