@@ -89,7 +89,7 @@ class Filter(IDManagerMixin, metaclass=FilterMeta):
8989 ----------
9090 bins : Integral or Iterable of Integral or Iterable of Real
9191 The bins for the filter. This takes on different meaning for different
92- filters. See the docstrings for sublcasses of this filter or the online
92+ filters. See the docstrings for subclasses of this filter or the online
9393 documentation for more details.
9494 filter_id : int
9595 Unique identifier for the filter
@@ -177,7 +177,7 @@ def from_hdf5(cls, group, **kwargs):
177177 filter_id = int (group .name .split ('/' )[- 1 ].lstrip ('filter ' ))
178178
179179 # If the HDF5 'type' variable matches this class's short_name, then
180- # there is no overriden from_hdf5 method. Pass the bins to __init__.
180+ # there is no overridden from_hdf5 method. Pass the bins to __init__.
181181 if group ['type' ][()].decode () == cls .short_name .lower ():
182182 out = cls (group ['bins' ][()], filter_id = filter_id )
183183 out ._num_bins = group ['n_bins' ][()]
@@ -254,7 +254,7 @@ def from_xml_element(cls, elem, **kwargs):
254254 filter_type = elem .get ('type' )
255255
256256 # If the filter type matches this class's short_name, then
257- # there is no overriden from_xml_element method
257+ # there is no overridden from_xml_element method
258258 if filter_type == cls .short_name .lower ():
259259 # Get bins from element -- the default here works for any filters
260260 # that just store a list of bins that can be represented as integers
@@ -438,7 +438,7 @@ def check_bins(self, bins):
438438
439439
440440class UniverseFilter (WithIDFilter ):
441- """Bins tally event locations based on the Universe they occured in.
441+ """Bins tally event locations based on the Universe they occurred in.
442442
443443 Parameters
444444 ----------
@@ -462,7 +462,7 @@ class UniverseFilter(WithIDFilter):
462462
463463
464464class MaterialFilter (WithIDFilter ):
465- """Bins tally event locations based on the Material they occured in.
465+ """Bins tally event locations based on the Material they occurred in.
466466
467467 Parameters
468468 ----------
@@ -486,7 +486,7 @@ class MaterialFilter(WithIDFilter):
486486
487487
488488class CellFilter (WithIDFilter ):
489- """Bins tally event locations based on the Cell they occured in.
489+ """Bins tally event locations based on the Cell they occurred in.
490490
491491 Parameters
492492 ----------
@@ -1945,7 +1945,7 @@ def from_tabulated1d(cls, tab1d):
19451945 raise ValueError ('Only Tabulated1Ds with a single interpolation '
19461946 'region are supported' )
19471947 if tab1d .interpolation [0 ] != 2 :
1948- raise ValueError ('Only linear-linar Tabulated1Ds are supported' )
1948+ raise ValueError ('Only linear-linear Tabulated1Ds are supported' )
19491949
19501950 return cls (tab1d .x , tab1d .y )
19511951
0 commit comments