def unpack_ascii(data):
<EOL>numstrings = [s.strip() for s in data.split('<STR_LIT:\n>')[:-<NUM_LIT:1>]]<EOL>print(numstrings)<EOL>if len(numstrings) == len([n for n in numstrings if n.isdigit()]):<EOL><INDENT>output = list(map(int, numstrings))<EOL><DEDENT>else:<EOL><INDENT>output = list(map(float, numstrings))<EOL><DEDENT>return output<EOL>
Unpack ASCII data using string methods``

    :param data_pointer: metadata for the ``data_pointer`` attribute for this data stream
    :type data_pointer: ``ahds.header.Block``
    :param definitions: definitions specified in the header
    :type definitions: ``ahds.header.Block``
    :param bytes data: raw binary data to be unpacked
    :return list output: unpacked data