def METHOD_NAME(path):
    """
    Get array of amplification IDs from amplifications.bin, where index
    corresponds to item ID.
    amplifications.bin is binary file with layout:
        reserved header (4-byte int),
        item ID 1 (4-byte int), amplification ID a_1 (4-byte int),
        ...
        item ID n (4-byte int), amplification ID a_n (4-byte int)
    Args:
        path (str): path to amplifications.bin file
    Returns:
        items_amps (numpy.ndarray): array of amplification IDs, where index
            corresponds to item ID
    """
    items_amps = np.fromfile(
        os.path.join(path, AMPLIFICATIONS_FILE_NAME), dtype=np.int32,
        offset=FILE_HEADER_SIZE
    )
    # Check item IDs start from 1 and are contiguous
    if items_amps[0] != 1:
        logger.error(f'First item ID is {items_amps[0]}. Expected 1.')
        raise SystemExit(1)
    items_amps = items_amps.reshape(len(items_amps) // 2, 2)
    if not np.all(items_amps[1:, 0] - items_amps[:-1, 0] == 1):
        logger.error(f'Item IDs in {os.path.join(path, AMPLIFICATIONS_FILE_NAME)} are not contiguous')
        raise SystemExit(1)
    items_amps = np.concatenate((np.array([0]), items_amps[:, 1]))
    return items_amps