class_docstr: Class contains logic for spaces with XYZ coordinate systems
  
  >>> sp = XYZSpace('hijo')
  >>> print(sp)
  hijo: [('x', 'hijo-x=L->R'), ('y', 'hijo-y=P->A'), ('z', 'hijo-z=I->S')]
  >>> csm = sp.to_coordsys_maker()
  >>> cs = csm(3)
  >>> cs
  CoordinateSystem(coord_names=('hijo-x=L->R', 'hijo-y=P->A', 'hijo-z=I->S'), name='hijo', coord_dtype=float64)
  >>> cs in sp
  True
class_docstr_tok: ["Class","contains","logic","for","spaces","with","XYZ","coordinate","systems",">",">",">","sp","=","XYZSpace","(","'hijo","'",")",">",">",">","print","(","sp",")","hijo",":","[","(","'","x","'",",","'hijo-x=L-",">","R","'",")",",","(","'","y","'",",","'hijo-y=P-",">","A","'",")",",","(","'","z","'",",","'hijo-z=I-",">","S","'",")","]",">",">",">","csm","=","sp.to_coordsys_maker","(",")",">",">",">","cs","=","csm","(","3",")",">",">",">","cs","CoordinateSystem","(","coord_names=","(","'hijo-x=L-",">","R","'",",","'hijo-y=P-",">","A","'",",","'hijo-z=I-",">","S","'",")",",","name='hijo","'",",","coord_dtype=float64",")",">",">",">","cs","in","sp","True"]
docstr: Return xyz names as tuple
  
  >>> sp = XYZSpace('hijo')
  >>> sp.as_tuple()
  ('hijo-x=L->R', 'hijo-y=P->A', 'hijo-z=I->S')
docstr_tok: ["Return","xyz","names","as","tuple",">",">",">","sp","=","XYZSpace","(","'hijo","'",")",">",">",">","sp.as_tuple","(",")","(","'hijo-x=L-",">","R","'",",","'hijo-y=P-",">","A","'",",","'hijo-z=I-",">","S","'",")"]
code: def as_tuple(self):
      """Return xyz names as tuple
  
      >>> sp = XYZSpace('hijo')
      >>> sp.as_tuple()
      ('hijo-x=L->R', 'hijo-y=P->A', 'hijo-z=I->S')
      """
      return self.x, self.y, self.z
  
imports: import numpy
  from nibabel import io_orientation
  from nibabel.affines import from_matvec
  from .coordinate_map import CoordMapMaker
  from .coordinate_system import CoordSysMaker, is_coordsys, is_coordsys_maker
label_desc: Use image node_id 9 for calling the XYZSpace obj's underlying member method code with example usage: obj.as_tuple() and returns: self,  self,  self