src/services/DataHelper.js
/**
   * @summary Ensure a SphereCorrection object is valide
   * @param {PSV.SphereCorrection} sphereCorrection
   * @returns {PSV.SphereCorrection}
   */
@summary Ensure a SphereCorrection object is valide
@param {PSV.SphereCorrection} sphereCorrection
@returns {PSV.SphereCorrection}
@summary Ensure a SphereCorrection object is valide @param { PSV . SphereCorrection } sphereCorrection @returns { PSV . SphereCorrection }
cleanSphereCorrection(sphereCorrection) {
    return {
      pan : parseAngle(sphereCorrection.pan || 0),
      tilt: parseAngle(sphereCorrection.tilt || 0, true),
      roll: parseAngle(sphereCorrection.roll || 0, true, false),
    };
  }
cleanSphereCorrection ( sphereCorrection ) { return { pan : parseAngle ( sphereCorrection . pan || 0 ) , tilt : parseAngle ( sphereCorrection . tilt || 0 , true ) , roll : parseAngle ( sphereCorrection . roll || 0 , true , false ) , } ; }
@summary Ensure a SphereCorrection object is valide
 @param {PSV.SphereCorrection} sphereCorrection
 @returns {PSV.SphereCorrection}
@summary Ensure a SphereCorrection object is valide @param { PSV . SphereCorrection } sphereCorrection @returns { PSV . SphereCorrection }