diff --git a/output/posts/numfocus-colour-0314-and-colour-datasets-010/index.rst b/output/posts/numfocus-colour-0314-and-colour-datasets-010/index.rst index 8f40128d..9d886f82 100644 --- a/output/posts/numfocus-colour-0314-and-colour-datasets-010/index.rst +++ b/output/posts/numfocus-colour-0314-and-colour-datasets-010/index.rst @@ -77,8 +77,8 @@ conversions: .. code-block:: python - >>> sd = colour.COLOURCHECKERS_SDS['ColorChecker N Ohta']['dark skin'] - >>> convert(sd, 'Spectral Distribution', 'sRGB', verbose={'mode': 'Short'}) + >>> sd = colour.COLOURCHECKERS_SDS["ColorChecker N Ohta"]["dark skin"] + >>> convert(sd, "Spectral Distribution", "sRGB", verbose={"mode": "Short"}) :: diff --git a/output/posts/physical-lighting-quantities-tying-both-ends/index.rst b/output/posts/physical-lighting-quantities-tying-both-ends/index.rst index 155919c7..ad71ba63 100644 --- a/output/posts/physical-lighting-quantities-tying-both-ends/index.rst +++ b/output/posts/physical-lighting-quantities-tying-both-ends/index.rst @@ -96,7 +96,9 @@ implements the aforementioned model with Python: .. code:: python >>> import colour_hdri - >>> colour_hdri.saturation_based_speed_focal_plane_exposure(18, 5.6, 0.25, 400) + >>> colour_hdri.saturation_based_speed_focal_plane_exposure( + ... 18, 5.6, 0.25, 400 + ... ) 0.46993364546604555 `Colour - Nuke `__ @@ -148,9 +150,13 @@ implements support for absolute luminance calibration with Python: >>> import numpy as np >>> RGB = np.ones([2048, 1024, 3]) >>> colour_hdri.upper_hemisphere_illuminance_Lagarde2016(RGB) - >>> colour_hdri.absolute_luminance_calibration_Lagarde2016(RGB, 120000)[0, 0] + >>> colour_hdri.absolute_luminance_calibration_Lagarde2016(RGB, 120000)[ + ... 0, 0 + ... ] array([ 38215.85392444, 38215.85392444, 38215.85392444]) - >>> colour_hdri.calibration.absolute_luminance.upper_hemisphere_illuminance_Lagarde2016(RGB) + >>> colour_hdri.calibration.absolute_luminance.upper_hemisphere_illuminance_Lagarde2016( + ... RGB + ... ) 3.1400580564615663 .. class:: alert alert-dismissible alert-info diff --git a/output/posts/the-road-to-stable/index.rst b/output/posts/the-road-to-stable/index.rst index b2826590..93e26579 100644 --- a/output/posts/the-road-to-stable/index.rst +++ b/output/posts/the-road-to-stable/index.rst @@ -56,8 +56,13 @@ The following example showcases the current implementation, defining metadata fo V = np.asarray(V) - R_Y = (1.2219 * V - 0.23111 * (V * V) + 0.23951 * (V ** 3) - 0.021009 * - (V ** 4) + 0.0008404 * (V ** 5)) + R_Y = ( + 1.2219 * V + - 0.23111 * (V * V) + + 0.23951 * (V**3) + - 0.021009 * (V**4) + + 0.0008404 * (V**5) + ) return R_Y diff --git a/posts/numfocus-colour-0314-and-colour-datasets-010.rst b/posts/numfocus-colour-0314-and-colour-datasets-010.rst index 8f40128d..9d886f82 100644 --- a/posts/numfocus-colour-0314-and-colour-datasets-010.rst +++ b/posts/numfocus-colour-0314-and-colour-datasets-010.rst @@ -77,8 +77,8 @@ conversions: .. code-block:: python - >>> sd = colour.COLOURCHECKERS_SDS['ColorChecker N Ohta']['dark skin'] - >>> convert(sd, 'Spectral Distribution', 'sRGB', verbose={'mode': 'Short'}) + >>> sd = colour.COLOURCHECKERS_SDS["ColorChecker N Ohta"]["dark skin"] + >>> convert(sd, "Spectral Distribution", "sRGB", verbose={"mode": "Short"}) :: diff --git a/posts/physical-lighting-quantities-tying-both-ends.rst b/posts/physical-lighting-quantities-tying-both-ends.rst index 155919c7..ad71ba63 100644 --- a/posts/physical-lighting-quantities-tying-both-ends.rst +++ b/posts/physical-lighting-quantities-tying-both-ends.rst @@ -96,7 +96,9 @@ implements the aforementioned model with Python: .. code:: python >>> import colour_hdri - >>> colour_hdri.saturation_based_speed_focal_plane_exposure(18, 5.6, 0.25, 400) + >>> colour_hdri.saturation_based_speed_focal_plane_exposure( + ... 18, 5.6, 0.25, 400 + ... ) 0.46993364546604555 `Colour - Nuke `__ @@ -148,9 +150,13 @@ implements support for absolute luminance calibration with Python: >>> import numpy as np >>> RGB = np.ones([2048, 1024, 3]) >>> colour_hdri.upper_hemisphere_illuminance_Lagarde2016(RGB) - >>> colour_hdri.absolute_luminance_calibration_Lagarde2016(RGB, 120000)[0, 0] + >>> colour_hdri.absolute_luminance_calibration_Lagarde2016(RGB, 120000)[ + ... 0, 0 + ... ] array([ 38215.85392444, 38215.85392444, 38215.85392444]) - >>> colour_hdri.calibration.absolute_luminance.upper_hemisphere_illuminance_Lagarde2016(RGB) + >>> colour_hdri.calibration.absolute_luminance.upper_hemisphere_illuminance_Lagarde2016( + ... RGB + ... ) 3.1400580564615663 .. class:: alert alert-dismissible alert-info diff --git a/posts/the-road-to-stable.rst b/posts/the-road-to-stable.rst index b2826590..93e26579 100644 --- a/posts/the-road-to-stable.rst +++ b/posts/the-road-to-stable.rst @@ -56,8 +56,13 @@ The following example showcases the current implementation, defining metadata fo V = np.asarray(V) - R_Y = (1.2219 * V - 0.23111 * (V * V) + 0.23951 * (V ** 3) - 0.021009 * - (V ** 4) + 0.0008404 * (V ** 5)) + R_Y = ( + 1.2219 * V + - 0.23111 * (V * V) + + 0.23951 * (V**3) + - 0.021009 * (V**4) + + 0.0008404 * (V**5) + ) return R_Y