def process_origx_records(data_file, pdb_file):
    """Takes a :py:class:`.PdbDataFile` and updates it based on the
    ORIGX records in the provided :py:class:`.PdbFile`

    :param PdbDataFile data_file: the Data File to update.
    :param PdbFile pdb_file: The source Pdb File"""
    origx1 = pdb_file.get_record_by_name('ORIGX1')
    origx2 = pdb_file.get_record_by_name('ORIGX2')
    origx3 = pdb_file.get_record_by_name('ORIGX3')
    if origx1 or origx2 or origx3:
        data_file._origx = {'o11': origx1[10:20] if origx1 else None, 'o12':
            origx1[20:30] if origx1 else None, 'o13': origx1[30:40] if
            origx1 else None, 't1': origx1[45:55] if origx1 else None,
            'o21': origx2[10:20] if origx2 else None, 'o22': origx2[20:30] if
            origx2 else None, 'o23': origx2[30:40] if origx2 else None,
            't2': origx2[45:55] if origx2 else None, 'o31': origx3[10:20] if
            origx3 else None, 'o32': origx3[20:30] if origx3 else None,
            'o33': origx3[30:40] if origx3 else None, 't3': origx3[45:55] if
            origx3 else None}
    else:
        data_file._origix = None
