File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,19 @@ def atomBareSymbol(smbl):
4444
4545def _linkAtomAttribute (attrname , doc , toarray = numpy .array ):
4646 '''Create property wrapper that maps the specified atom attribute.
47+
4748 The returned property object provides convenient access to atom
4849 attributes from the owner Structure class.
4950
50- attrname -- string name of the Atom class attribute to be mapped
51- doc -- docstring of the property wrapper
52- toarray -- factory function that converts list of attributes to
53- numpy.array. Use numpy.char.array for string attributes.
51+ Parameters
52+ ----------
53+ attrname : str
54+ The string name of the Atom class attribute to be mapped.
55+ doc : str
56+ The docstring for the property wrapper.
57+ toarray : callable, optional
58+ Factory function that converts list of attributes to `numpy.ndarray`.
59+ Use `numpy.char.array` for string attributes.
5460
5561 Return a property object.
5662 '''
You can’t perform that action at this time.
0 commit comments