Coverage report: 96%

Files Functions Classes

coverage.py v7.14.3, created at 2026-06-23 08:26 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
python/lsst/cbp/__init__.py (no function)   100% 6 0 0   100% 0 0   100%
python/lsst/cbp/beamInfo.py BeamInfo.__init__   100% 13 0 0   100% 0 0   100%
python/lsst/cbp/beamInfo.py BeamInfo.isOnDetector   100% 3 0 0   100% 2 0   100%
python/lsst/cbp/beamInfo.py BeamInfo.isVisible   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/beamInfo.py BeamInfo.detectorPos   80% 5 1 0   50% 2 1   71%
python/lsst/cbp/beamInfo.py BeamInfo.detectorName   67% 3 1 0   50% 2 1   60%
python/lsst/cbp/beamInfo.py BeamInfo._findDetector   100% 5 0 0   100% 2 0   100%
python/lsst/cbp/beamInfo.py (no function)   100% 15 0 0   100% 0 0   100%
python/lsst/cbp/computeHolePositions.py computeHolePositions   100% 16 0 0   100% 6 0   100%
python/lsst/cbp/computeHolePositions.py (no function)   100% 6 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py startRecordingErrors   100% 3 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py stopRecordingErrors   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py getRecordedErrors   67% 3 1 0   50% 2 1   60%
python/lsst/cbp/coordUtils.py getFlippedPos   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py fieldAngleToVector   100% 5 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py vectorToFieldAngle   100% 5 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py pupilPositionToVector   100% 2 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py computeShiftedPlanePos   100% 3 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py convertVectorFromBaseToPupil   100% 10 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py convertVectorFromPupilToBase   100% 10 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py computeAzAltFromBasePupil   97% 29 1 0   90% 10 1   95%
python/lsst/cbp/coordUtils.py rotate2d   100% 4 0 0   100% 0 0   100%
python/lsst/cbp/coordUtils.py (no function)   100% 21 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py startRecordingErrors   100% 2 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py stopRecordingErrors   0% 1 1 0   100% 0 0   0%
python/lsst/cbp/coordinateConverter.py getRecordedErrors   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.__init__   100% 8 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.setFocalFieldAngle   74% 27 7 0   62% 8 3   71%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.setFocalFieldAngle.TrialFunctor.__init__   100% 5 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.setFocalFieldAngle.TrialFunctor.__call__   100% 6 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.setFocalPlanePos   100% 6 0 0   100% 2 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.setDetectorPos   91% 11 1 0   75% 4 1   87%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.offsetDetectorPos   92% 12 1 0   83% 6 1   89%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.offsetFocalPlanePos   100% 10 0 0   100% 4 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.offsetFocalFieldAngle   100% 10 0 0   100% 4 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.__getitem__   100% 2 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.__iter__   100% 2 0 0   100% 2 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.__len__   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.cbpInBounds   100% 2 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.telInBounds   100% 2 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.beamNames   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.cbpAzAltObserved   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.cbpAzAltObserved   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.telAzAltObserved   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.telAzAltObserved   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.telRotObserved   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.telRotObserved   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.cbpAzAltInternal   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.telAzAltInternal   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.telRotInternal   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.setPupilFieldAngle   100% 15 0 0   100% 2 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter._computeCameraRotatorAngle   100% 12 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter._getBeamCbpFieldAngle   100% 2 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter._computeBeamVectorInCtrPupilFrame   100% 7 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter._computeCbpVectorInCtrPupilFrame   100% 2 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter._rotateFocalPlaneToPupil   0% 1 1 0   100% 0 0   0%
python/lsst/cbp/coordinateConverter.py CoordinateConverter._rotatePupilToFocalPlane   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter.getBeamInfo   100% 16 0 0   100% 2 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter._computeCbpPupilUnitVectorFromHolePos   100% 2 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter._computeTelPupilUnitVectorFromHolePos   100% 4 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter._observedToInternal   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py CoordinateConverter._internalToObserved   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverter.py (no function)   100% 60 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverterConfig.py CoordinateConverterConfig.__init__   100% 27 0 0   100% 10 0   100%
python/lsst/cbp/coordinateConverterConfig.py CoordinateConverterConfig.cbpPosition   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverterConfig.py CoordinateConverterConfig.cbpDistance   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/coordinateConverterConfig.py CoordinateConverterConfig.cbpPosition   100% 4 0 0   100% 2 0   100%
python/lsst/cbp/coordinateConverterConfig.py (no function)   100% 11 0 0   100% 0 0   100%
python/lsst/cbp/maskInfo.py MaskInfo.__init__   100% 11 0 0   100% 8 0   100%
python/lsst/cbp/maskInfo.py MaskInfo.asHoleName   100% 7 0 0   100% 6 0   100%
python/lsst/cbp/maskInfo.py MaskInfo.getHolePos   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/maskInfo.py MaskInfo.numHoles   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/maskInfo.py MaskInfo.holeNames   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/maskInfo.py (no function)   100% 11 0 0   100% 0 0   100%
python/lsst/cbp/testUtils.py SampleCoordinateConverter.__init__   100% 14 0 0   50% 4 2   89%
python/lsst/cbp/testUtils.py SampleCoordinateConverter.makeCoordinateConverterConfig   100% 1 0 0   100% 0 0   100%
python/lsst/cbp/testUtils.py SampleCoordinateConverter.makeMaskInfo   100% 8 0 0   100% 0 0   100%
python/lsst/cbp/testUtils.py SampleCoordinateConverter.makeCameraGeom   100% 10 0 0   100% 2 0   100%
python/lsst/cbp/testUtils.py SampleCoordinateConverter._makeAmpBuilder   100% 9 0 0   100% 0 0   100%
python/lsst/cbp/testUtils.py SampleCoordinateConverter._makeDetectorConfig   100% 25 0 0   100% 0 0   100%
python/lsst/cbp/testUtils.py (no function)   100% 16 0 0   100% 0 0   100%
python/lsst/cbp/version.py (no function)   100% 5 0 0   100% 0 0   100%
tests/test_computeHolePositions.py ComputeHolePositionsTestCase.setUp   100% 3 0 0   100% 0 0   100%
tests/test_computeHolePositions.py ComputeHolePositionsTestCase.tearDown   100% 2 0 0   100% 0 0   100%
tests/test_computeHolePositions.py ComputeHolePositionsTestCase.testSetup   100% 2 0 0   100% 0 0   100%
tests/test_computeHolePositions.py ComputeHolePositionsTestCase.testOneDetector   100% 11 0 0   100% 4 0   100%
tests/test_computeHolePositions.py ComputeHolePositionsTestCase.testOneHoleAllDetectors   100% 17 0 0   100% 6 0   100%
tests/test_computeHolePositions.py setup_module   100% 1 0 0   100% 0 0   100%
tests/test_computeHolePositions.py (no function)   88% 17 2 0   50% 2 1   84%
tests/test_coordUtils.py CoordUtilsTestCase.setUp   100% 2 0 0   50% 2 1   75%
tests/test_coordUtils.py CoordUtilsTestCase.tearDown   57% 7 3 0   33% 6 2   46%
tests/test_coordUtils.py CoordUtilsTestCase.testGetFlippedPos   100% 8 0 0   100% 4 0   100%
tests/test_coordUtils.py CoordUtilsTestCase.testFieldAngleToVector   100% 24 0 0   100% 6 0   100%
tests/test_coordUtils.py CoordUtilsTestCase.testVectorToFieldAngle   100% 8 0 0   100% 6 0   100%
tests/test_coordUtils.py CoordUtilsTestCase.testComputeShiftedPlanePosZeroFieldAngle   100% 5 0 0   100% 4 0   100%
tests/test_coordUtils.py CoordUtilsTestCase.testComputeShiftedPlanePosZeroShift   100% 5 0 0   100% 4 0   100%
tests/test_coordUtils.py CoordUtilsTestCase.testComputeShiftedPlanePos   100% 8 0 0   100% 6 0   100%
tests/test_coordUtils.py CoordUtilsTestCase.testConvertVectorFromPupilToBase   100% 13 0 0   100% 4 0   100%
tests/test_coordUtils.py CoordUtilsTestCase.testComputeAzAltFromPupilBaseWithBaseEqualsPupil   100% 8 0 0   100% 2 0   100%
tests/test_coordUtils.py CoordUtilsTestCase.testComputeAzAltFromPupilBaseWithVectorPupil100   91% 11 1 0   75% 4 1   87%
tests/test_coordUtils.py CoordUtilsTestCase.testComputeAzAltFromPupilBase   100% 13 0 0   100% 2 0   100%
tests/test_coordUtils.py CoordUtilsTestCase.testRotate2d   100% 5 0 0   100% 2 0   100%
tests/test_coordUtils.py setup_module   100% 1 0 0   100% 0 0   100%
tests/test_coordUtils.py (no function)   93% 30 2 0   50% 2 1   91%
tests/test_coordinateConverter.py CoordConverterTestCase.setUp   100% 10 0 0   50% 2 1   92%
tests/test_coordinateConverter.py CoordConverterTestCase.tearDown   100% 13 0 0   88% 8 1   95%
tests/test_coordinateConverter.py CoordConverterTestCase.testOffsetDetectorPos   100% 18 0 0   100% 6 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testOffsetFocalFieldAngle   100% 18 0 0   100% 6 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testOffsetFocalPlanePos   100% 18 0 0   100% 6 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testSampleBasics   100% 8 0 0   100% 2 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testSetPupilFieldAngleTrivial   100% 45 0 0   100% 0 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testSetFocalFieldAngle   100% 11 0 0   100% 4 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testSetDetectorPos   43% 14 8 0   62% 8 1   50%
tests/test_coordinateConverter.py CoordConverterTestCase.testSetOffDetector   100% 6 0 0   100% 2 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testSetFocalPlanePos   100% 9 0 0   100% 2 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testSetPupilFieldAngleZero   100% 48 0 0   100% 2 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testSetPupilFieldAngle   100% 7 0 0   100% 2 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testAngleProperties   100% 21 0 0   100% 6 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testInBounds   100% 26 0 0   100% 8 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testHolePositionsFlipX   100% 10 0 0   100% 6 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testSetPupilFieldAngleFlipX   100% 13 0 0   100% 2 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.testSetDetectorPosFlipX   100% 15 0 0   100% 2 0   100%
tests/test_coordinateConverter.py CoordConverterTestCase.checkOrientation   100% 9 0 0   100% 0 0   100%
tests/test_coordinateConverter.py setup_module   100% 1 0 0   100% 0 0   100%
tests/test_coordinateConverter.py (no function)   95% 38 2 0   50% 2 1   92%
tests/test_coordinateConverterConfig.py CoordinateConverterTestCase.setUp   100% 2 0 0   100% 0 0   100%
tests/test_coordinateConverterConfig.py CoordinateConverterTestCase.testBasics   100% 3 0 0   100% 0 0   100%
tests/test_coordinateConverterConfig.py CoordinateConverterTestCase.testDefaults   100% 8 0 0   100% 2 0   100%
tests/test_coordinateConverterConfig.py CoordinateConverterTestCase.testLengthErrors   100% 10 0 0   100% 4 0   100%
tests/test_coordinateConverterConfig.py CoordinateConverterTestCase.testScaleErrors   100% 5 0 0   100% 2 0   100%
tests/test_coordinateConverterConfig.py CoordinateConverterTestCase.checkValues   100% 22 0 0   100% 6 0   100%
tests/test_coordinateConverterConfig.py CoordinateConverterTestCase.checkCbpDistance   100% 3 0 0   100% 0 0   100%
tests/test_coordinateConverterConfig.py setup_module   100% 1 0 0   100% 0 0   100%
tests/test_coordinateConverterConfig.py (no function)   90% 20 2 0   50% 2 1   86%
tests/test_maskInfo.py MaskInfoTestCase.setUp   100% 2 0 0   100% 0 0   100%
tests/test_maskInfo.py MaskInfoTestCase.testBasics   100% 22 0 0   100% 2 0   100%
tests/test_maskInfo.py MaskInfoTestCase.testConstructorErrors   100% 15 0 0   100% 2 0   100%
tests/test_maskInfo.py MaskInfoTestCase.testDefaultNames   100% 3 0 0   100% 0 0   100%
tests/test_maskInfo.py setup_module   100% 1 0 0   100% 0 0   100%
tests/test_maskInfo.py (no function)   87% 15 2 0   50% 2 1   82%
Total     97% 1267 37 0   89% 256 23   96%

No items found using the specified filter.