for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
class ConvolvedSourcesContainer(object):
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
class SomeClass: def some_method(self): """Do x and return foo."""
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.
def __init__(self):
self._cache = []
def reset(self):
def __getitem__(self, item):
return self._cache[item]
def append(self, convolved_point_source):
self._cache.append(convolved_point_source)
@property
def n_sources_in_cache(self):
return len(self._cache)
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.