Ghost/make_figs.py
def interpret_ranges(self,exp_value,atom):
        """Given a number of a range, get the true value + and error"""
        exp_error=errors[atom]
        if type(exp_value) is type('jkfjd'):
            if len(exp_value.split(';'))==2:
                s=[]
                for val in str(exp_value).split(';'):
                    if val[0] in ['<','>']:
                        val=val[1:]
                    s.append(float(val))
                exp_error=abs(s[0]-s[1])
                exp_value=float(sum(s))/len(s)
        return exp_value,exp_error
Given a number of a range, get the true value + and error
Given a number of a range, get the true value + and error
Given a number of a range get the true value + and error
def interpret_ranges(self,exp_value,atom):
        exp_error=errors[atom]
        if type(exp_value) is type('jkfjd'):
            if len(exp_value.split(';'))==2:
                s=[]
                for val in str(exp_value).split(';'):
                    if val[0] in ['<','>']:
                        val=val[1:]
                    s.append(float(val))
                exp_error=abs(s[0]-s[1])
                exp_value=float(sum(s))/len(s)
        return exp_value,exp_error
def interpret_ranges ( self , exp_value , atom ) : exp_error = errors [ atom ] if type ( exp_value ) is type ( 'jkfjd' ) : if len ( exp_value . split ( ';' ) ) == 2 : s = [ ] for val in str ( exp_value ) . split ( ';' ) : if val [ 0 ] in [ '<' , '>' ] : val = val [ 1 : ] s . append ( float ( val ) ) exp_error = abs ( s [ 0 ] - s [ 1 ] ) exp_value = float ( sum ( s ) ) / len ( s ) return exp_value , exp_error
Given a number of a range, get the true value + and error
Given a number of a range get the true value + and error
"""Given a number of a range, get the true value + and error"""
self
exp_value
atom