def get_tag_params(tag_model):
    '''Load param strs and n_header based on model of tag model'''

    tag_model = tag_model.replace('-', '')
    tags = dict()
    tags['W190PD3GT'] = ['Acceleration-X', 'Acceleration-Y', 'Acceleration-Z',
                         'Depth', 'Propeller', 'Temperature']

    # Return tag parameters if found, else raise error
    if tag_model in tags:
        return tags[tag_model]
    else:
        raise KeyError('{} not found in tag dictionary'.format(tag_model))
def get_tag_params ( tag_model ) : tag_model = tag_model . replace ( '-' , '' ) tags = dict ( ) tags [ 'W190PD3GT' ] = [ 'Acceleration-X' , 'Acceleration-Y' , 'Acceleration-Z' , 'Depth' , 'Propeller' , 'Temperature' ] if tag_model in tags : return tags [ tag_model ] else : raise KeyError ( '{} not found in tag dictionary' . format ( tag_model ) )
Load param strs and n_header based on model of tag model