Coverage report: 19%

Files Functions Classes

coverage.py v7.5.1, created at 2024-05-09 03:09 -0700

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

No items found using the specified filter.