Coverage for geometric_kernels/feature_maps/base.py: 80%

5 statements  

« prev     ^ index     » next       coverage.py v7.11.3, created at 2025-11-16 21:43 +0000

1""" 

2This module provides the abstract base class :class:`FeatureMap` that all 

3feature maps inherit from. It can be used for type hinting. 

4""" 

5 

6import abc 

7 

8 

9class FeatureMap(abc.ABC): 

10 """ 

11 Abstract base class for all feature maps. 

12 """ 

13 

14 @abc.abstractmethod 

15 def __call__(self, *args, **kwargs): 

16 r""" 

17 `FeatureMap`\ s are callable. 

18 """ 

19 raise NotImplementedError