Skip to content

Commit 53d006a

Browse files
committed
Typo + doc
1 parent 66e6311 commit 53d006a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyaml/arrays/element_array.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class ElementArray(list[Element]):
1111
"""
12-
Class that implements access to a magnet array
12+
Class that implements access to a element array
1313
"""
1414

1515
def __init__(self,arrayName:str,elements:list[Element],use_aggregator = True):
@@ -23,6 +23,8 @@ def __init__(self,arrayName:str,elements:list[Element],use_aggregator = True):
2323
elements: list[Element]
2424
Element list, all elements must be attached to the same instance of
2525
either a Simulator or a ControlSystem.
26+
use_aggregator : bool
27+
Use aggregator to increase performance by using paralell access to underlying devices.
2628
"""
2729
super().__init__(i for i in elements)
2830
self.__name = arrayName

0 commit comments

Comments
 (0)