MCPcopy Create free account
hub / github.com/PathologyDataScience/HiPS / _sf

Method _sf

hips/SlideFeatureExtractor.py:1363–1365  ·  view source on GitHub ↗

Scale factor from mask MPP to desired mpp

(self)

Source from the content-addressed store, hash-verified

1361
1362 @cached_property
1363 def _sf(self) -> float:
1364 """Scale factor from mask MPP to desired mpp"""
1365 return 1e3 * self._tilesource.getMetadata()['mm_x'] / self.mpp
1366
1367 @cached_property
1368 def _tilesource(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected