sec_interp.core.services.profile.structures module
Structural-measurement component processor for the profile pipeline.
- sec_interp.core.services.profile.structures.process_structures(params: PreviewParams, extractor: Any, service: Any, cache: DataCache, cache_meta: dict) list[StructureMeasurement] | None
Project structural measurements onto the section.
- Parameters:
params – Preview parameters with the section and structure layers.
extractor – Structure extractor adapter.
service – Structure projection service.
cache – Component cache.
cache_meta – Metadata stored with a cache entry.
- Returns:
Projected measurements, an empty list when nothing falls in the buffer, or
Nonewhen the section/context cannot be built.- Raises:
ProfileServiceError – If the extractor or service is unavailable.