1 #ifndef MocNarrowAngleSumming_h 2 #define MocNarrowAngleSumming_h 45 p_ss = ((double) csum / 2.0) + 0.5 + (double)(ss - 1);
58 return (sample - 1.0) * (double) p_csum + p_ss;
67 inline double Sample(
double detector)
const {
68 return (detector - p_ss) / ((double) p_csum) + 1.0;
MocNarrowAngleSumming(int csum, int ss)
Constructs the MocNarrowAngleSumming object.
double Sample(double detector) const
Given the detector value, this method computes the corresponding sample.
~MocNarrowAngleSumming()
Destroys the MocNarrowAngleSumming object.
Namespace for ISIS/Bullet specific routines.
double Detector(double sample) const
Given the sample value, this method computes the corresponding detector.
Mars Global Surveyor MOC narrow angle summing class.