Skip to content

Commit

Permalink
MNT #309 add symbols per review
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Dec 12, 2023
1 parent a59ba71 commit 3638799
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions hkl/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
logger = logging.getLogger(__name__)


AXES_READ = 0
AXES_WRITTEN = 1


class Parameter(object):
"""HKL library parameter object
Expand Down Expand Up @@ -244,12 +248,12 @@ def axes_c(self):
@property
def axes_r(self):
"""HKL real axis names (read-only)."""
return self._engine.axis_names_get(0)
return self._engine.axis_names_get(AXES_READ)

@property
def axes_w(self):
"""HKL real axis names (written by forward() computation)."""
return self._engine.axis_names_get(1)
return self._engine.axis_names_get(AXES_WRITTEN)

@property
def mode(self):
Expand Down

0 comments on commit 3638799

Please sign in to comment.