File failed to load: https://isis.astrogeology.usgs.gov/8.3.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
MocNarrowAngleSumming.h
1#ifndef MocNarrowAngleSumming_h
2#define MocNarrowAngleSumming_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12namespace Isis {
27 public:
33 MocNarrowAngleSumming(int csum, int ss) {
34 p_csum = csum;
35 p_ss = ((double) csum / 2.0) + 0.5 + (double)(ss - 1);
36 }
37
40
47 inline double Detector(double sample) const {
48 return (sample - 1.0) * (double) p_csum + p_ss;
49 }
50
57 inline double Sample(double detector) const {
58 return (detector - p_ss) / ((double) p_csum) + 1.0;
59 }
60
61 private:
62 int p_csum;
63 double p_ss;
64
65 };
66};
67#endif
Mars Global Surveyor MOC narrow angle summing class.
double Sample(double detector) const
Given the detector value, this method computes the corresponding sample.
~MocNarrowAngleSumming()
Destroys the MocNarrowAngleSumming object.
double Detector(double sample) const
Given the sample value, this method computes the corresponding detector.
MocNarrowAngleSumming(int csum, int ss)
Constructs the MocNarrowAngleSumming object.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 02/24/2025 16:15:05