@property<EOL><INDENT>def dx(self):<DEDENT>
try:<EOL><INDENT>return self._dx<EOL><DEDENT>except AttributeError:<EOL><INDENT>try:<EOL><INDENT>self._xindex<EOL><DEDENT>except AttributeError:<EOL><INDENT>self._dx = Quantity(<NUM_LIT:1>, self.xunit)<EOL><DEDENT>else:<EOL><INDENT>if not self.xindex.regular:<EOL><INDENT>raise AttributeError("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>self._dx = self.xindex[<NUM_LIT:1>] - self.xindex[<NUM_LIT:0>]<EOL><DEDENT>return self._dx<EOL><DEDENT>
X-axis sample separation

        :type: `~astropy.units.Quantity` scalar