def METHOD_NAME():
    # Example was generated via:
    #     scipy.ndimage.rotate(np.arange(1000, 8000, 100).reshape((7,10)), 45, cval=-99)
    # (Using a variable so the array is more spaced-out & readable)
    nada = -999
    original_image = np.array(
        [
            [nada, nada, nada, nada, nada, nada, nada, nada, nada, nada, nada, nada],
            [nada, nada, nada, nada, nada, nada, 1852, 2730, nada, nada, nada, nada],
            [nada, nada, nada, nada, nada, 1711, 2570, 3428, 4169, nada, nada, nada],
            [nada, nada, nada, nada, 1568, 2432, 3287, 4009, 4805, 5610, nada, nada],
            [nada, nada, nada, 1427, 2291, 3144, 3871, 4663, 5451, 6181, 7049, nada],
            [nada, nada, 1284, 2149, 3003, 3729, 4521, 5312, 6040, 6889, 7757, nada],
            [nada, 1143, 2011, 2860, 3588, 4379, 5171, 5897, 6751, 7616, nada, nada],
            [nada, 1851, 2719, 3449, 4237, 5029, 5756, 6609, 7473, nada, nada, nada],
            [nada, nada, 3290, 4095, 4891, 5613, 6468, 7332, nada, nada, nada, nada],
            [nada, nada, nada, 4731, 5472, 6330, 7189, nada, nada, nada, nada, nada],
            [nada, nada, nada, nada, 6170, 7048, nada, nada, nada, nada, nada, nada],
            [nada, nada, nada, nada, nada, nada, nada, nada, nada, nada, nada, nada],
        ]
    )
    unmodified = original_image.copy()
    assert np.array_equal(
        original_image, unmodified
    ), "rescale_intensity modified the input image"
    staticly_rescaled = images.rescale_intensity(
        original_image, in_range=(4000, 6000), out_range=(100, 255), image_nodata=-999
    )
    print("Statically rescaled result: ")
    print(repr(staticly_rescaled))
    # - Note that the nodata values are not scaled (a previous bug!)
    #   they're translated to the output nodata value (0).
    # - Note how many will be clipped to the min (100) without falling into nodata.
    non = 0
    expected_static_rescale = np.array(
        [
            [non, non, non, non, non, non, non, non, non, non, non, non],
            [non, non, non, non, non, non, 100, 100, non, non, non, non],
            [non, non, non, non, non, 100, 100, 100, 113, non, non, non],
            [non, non, non, non, 100, 100, 100, 100, 162, 224, non, non],
            [non, non, non, 100, 100, 100, 100, 151, 212, 255, 255, non],
            [non, non, 100, 100, 100, 100, 140, 201, 255, 255, 255, non],
            [non, 100, 100, 100, 100, 129, 190, 247, 255, 255, non, non],
            [non, 100, 100, 100, 118, 179, 236, 255, 255, non, non, non],
            [non, non, 100, 107, 169, 225, 255, 255, non, non, non, non],
            [non, non, non, 156, 214, 255, 255, non, non, non, non, non],
            [non, non, non, non, 255, 255, non, non, non, non, non, non],
            [non, non, non, non, non, non, non, non, non, non, non, non],
        ],
        dtype=np.uint8,
    )
    assert np.array_equal(staticly_rescaled, expected_static_rescale)