src/lengthsToN50Plot.py
def nValue(a, x):
    """ given a dict populated as the processData returned dicts, `a'
    and a a float x in the range (0, 1.0) nValue returns the Nx value
    """
    if not isinstance(a, LengthObj):
        raise RuntimeError('Type of `a\' must be LengthObj, not %s'
                           % x.__class__)
    if not isinstance(x, float):
        raise RuntimeError('Type of `x\' must be float, not %s' % x.__class__)
    if not (0.0 < x < 1.0):
        raise RuntimeError('Value of `x\' must be in (0.0, 1.0), not %f' % x)
    n = numpy.sum(a.xData > x)
    if n == 0:
        return 0
    return a.lengths[- n]
 given a dict populated as the processData returned dicts, `a'
    and a a float x in the range (0, 1.0) nValue returns the Nx value
    
given a dict populated as the processData returned dicts, `a'
and a a float x in the range (0, 1.0) nValue returns the Nx value
given a dict populated as the processData returned dicts ` a ' and a a float x in the range ( 0 1 . 0 ) nValue returns the Nx value
def nValue(a, x):
    if not isinstance(a, LengthObj):
        raise RuntimeError('Type of `a\' must be LengthObj, not %s'
                           % x.__class__)
    if not isinstance(x, float):
        raise RuntimeError('Type of `x\' must be float, not %s' % x.__class__)
    if not (0.0 < x < 1.0):
        raise RuntimeError('Value of `x\' must be in (0.0, 1.0), not %f' % x)
    n = numpy.sum(a.xData > x)
    if n == 0:
        return 0
    return a.lengths[- n]
def nValue ( a , x ) : if not isinstance ( a , LengthObj ) : raise RuntimeError ( 'Type of `a\' must be LengthObj, not %s' % x . __class__ ) if not isinstance ( x , float ) : raise RuntimeError ( 'Type of `x\' must be float, not %s' % x . __class__ ) if not ( 0.0 < x < 1.0 ) : raise RuntimeError ( 'Value of `x\' must be in (0.0, 1.0), not %f' % x ) n = numpy . sum ( a . xData > x ) if n == 0 : return 0 return a . lengths [ - n ]
given a dict populated as the processData returned dicts, `a'
and a a float x in the range (0, 1.0) nValue returns the Nx value
given a dict populated as the processData returned dicts ` a ' and a a float x in the range ( 0 1 . 0 ) nValue returns the Nx value
""" given a dict populated as the processData returned dicts, `a'
    and a a float x in the range (0, 1.0) nValue returns the Nx value
    """
a
x