From b106eae330eb822c00559a0fc81047f540da0a40 Mon Sep 17 00:00:00 2001 From: Flatiron Jenkins Date: Mon, 10 Feb 2025 20:41:39 +0000 Subject: [PATCH] Generated documentation for docs//pulls/307 jenkins-neurorse-plenoptic-PR-307-26 --- .../conceptual_intro_matched_light.pdf | Bin 16987 -> 16987 bytes .../conceptual_intro_primaries.pdf | Bin 15633 -> 15633 bytes .../conceptual_intro_cones.pdf | Bin 16344 -> 16344 bytes docs/pulls/307/_modules/index.html | 4 +-- docs/pulls/307/_modules/plenoptic/data.html | 4 +-- .../307/_modules/plenoptic/data/fetch.html | 4 +-- .../_modules/plenoptic/metric/classes.html | 4 +-- .../plenoptic/metric/model_metric.html | 4 +-- .../307/_modules/plenoptic/metric/naive.html | 4 +-- .../plenoptic/metric/perceptual_distance.html | 10 +++---- .../canonical_computations/filters.html | 4 +-- .../laplacian_pyramid.html | 4 +-- .../non_linearities.html | 4 +-- .../steerable_pyramid_freq.html | 28 ++++++++---------- .../plenoptic/simulate/models/frontend.html | 4 +-- .../plenoptic/simulate/models/naive.html | 10 +++---- .../simulate/models/portilla_simoncelli.html | 4 +-- .../plenoptic/synthesize/autodiff.html | 4 +-- .../plenoptic/synthesize/eigendistortion.html | 10 +++---- .../plenoptic/synthesize/geodesic.html | 4 +-- .../plenoptic/synthesize/mad_competition.html | 7 ++--- .../plenoptic/synthesize/metamer.html | 7 ++--- .../plenoptic/synthesize/simple_metamer.html | 4 +-- .../plenoptic/synthesize/synthesis.html | 6 ++-- .../307/_modules/plenoptic/tools/conv.html | 4 +-- .../_modules/plenoptic/tools/convergence.html | 4 +-- .../307/_modules/plenoptic/tools/data.html | 11 ++++--- .../307/_modules/plenoptic/tools/display.html | 8 ++--- .../_modules/plenoptic/tools/external.html | 4 +-- .../307/_modules/plenoptic/tools/optim.html | 4 +-- .../307/_modules/plenoptic/tools/signal.html | 4 +-- .../307/_modules/plenoptic/tools/stats.html | 4 +-- .../plenoptic/tools/straightness.html | 4 +-- .../_modules/plenoptic/tools/validate.html | 9 +++--- .../307/_static/documentation_options.js | 2 +- docs/pulls/307/api/modules.html | 4 +-- docs/pulls/307/api/plenoptic.data.html | 4 +-- docs/pulls/307/api/plenoptic.html | 4 +-- docs/pulls/307/api/plenoptic.metric.html | 4 +-- ...optic.simulate.canonical_computations.html | 4 +-- docs/pulls/307/api/plenoptic.simulate.html | 4 +-- .../307/api/plenoptic.simulate.models.html | 4 +-- docs/pulls/307/api/plenoptic.synthesize.html | 4 +-- docs/pulls/307/api/plenoptic.tools.html | 4 +-- docs/pulls/307/citation.html | 4 +-- docs/pulls/307/conceptual_intro.html | 4 +-- docs/pulls/307/genindex.html | 4 +-- docs/pulls/307/index.html | 4 +-- docs/pulls/307/install.html | 4 +-- docs/pulls/307/jupyter.html | 4 +-- docs/pulls/307/models.html | 4 +-- docs/pulls/307/py-modindex.html | 4 +-- docs/pulls/307/reproducibility.html | 4 +-- docs/pulls/307/search.html | 4 +-- docs/pulls/307/synthesis.html | 4 +-- docs/pulls/307/tips.html | 4 +-- docs/pulls/307/tutorials/00_quickstart.html | 4 +-- .../pulls/307/tutorials/advanced/Display.html | 4 +-- .../advanced/Synthesis_extensions.html | 4 +-- .../applications/09_Original_MAD.html | 4 +-- .../applications/Demo_Eigendistortion.html | 4 +-- .../tutorials/intro/02_Eigendistortions.html | 4 +-- .../pulls/307/tutorials/intro/06_Metamer.html | 4 +-- .../307/tutorials/intro/07_Simple_MAD.html | 4 +-- .../tutorials/intro/08_MAD_Competition.html | 4 +-- .../models/03_Steerable_Pyramid.html | 4 +-- .../models/04_Perceptual_distance.html | 8 ++--- .../models/04_Perceptual_distance.ipynb | 4 +-- .../models/Metamer-Portilla-Simoncelli.html | 4 +-- 69 files changed, 162 insertions(+), 170 deletions(-) diff --git a/docs/pulls/307/_downloads/3aff9c480cac3a08db7a31fcd2798f4f/conceptual_intro_matched_light.pdf b/docs/pulls/307/_downloads/3aff9c480cac3a08db7a31fcd2798f4f/conceptual_intro_matched_light.pdf index ae6a864c220ac00fdfef0f3a96003438f7933a3c..e219399dabe7bd8a9fb7b9349bc2523a59fa1859 100644 GIT binary patch delta 19 bcmccJ!g#xdal=Lj$ADJ1inu073!=egFUf delta 17 YcmbPOHL+^L77G?*Q$v%@J1inu075JVga7~l diff --git a/docs/pulls/307/_downloads/febea97ed019274548f2a31fbc3c8e94/conceptual_intro_cones.pdf b/docs/pulls/307/_downloads/febea97ed019274548f2a31fbc3c8e94/conceptual_intro_cones.pdf index 352c956df2ebe683a2cceb9ef9130520ae785903..7c0b362a5caf84d87a58590ec3e0da1973d6b466 100644 GIT binary patch delta 17 Ycmcanf1`eby)}!8p@Gq6XX~jf07S|LZU6uP delta 17 Ycmcanf1`eby)}!msiEm+XX~jf07Uu*bpQYW diff --git a/docs/pulls/307/_modules/index.html b/docs/pulls/307/_modules/index.html index 0a96c7b..89a01a7 100644 --- a/docs/pulls/307/_modules/index.html +++ b/docs/pulls/307/_modules/index.html @@ -5,7 +5,7 @@ - Overview: module code — plenoptic 1.1.1.dev52 documentation + Overview: module code — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/data.html b/docs/pulls/307/_modules/plenoptic/data.html index 48247d7..bf93c0f 100644 --- a/docs/pulls/307/_modules/plenoptic/data.html +++ b/docs/pulls/307/_modules/plenoptic/data.html @@ -5,7 +5,7 @@ - plenoptic.data — plenoptic 1.1.1.dev52 documentation + plenoptic.data — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/data/fetch.html b/docs/pulls/307/_modules/plenoptic/data/fetch.html index a96de03..a23eaad 100644 --- a/docs/pulls/307/_modules/plenoptic/data/fetch.html +++ b/docs/pulls/307/_modules/plenoptic/data/fetch.html @@ -5,7 +5,7 @@ - plenoptic.data.fetch — plenoptic 1.1.1.dev52 documentation + plenoptic.data.fetch — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/metric/classes.html b/docs/pulls/307/_modules/plenoptic/metric/classes.html index f255fdc..33fcc65 100644 --- a/docs/pulls/307/_modules/plenoptic/metric/classes.html +++ b/docs/pulls/307/_modules/plenoptic/metric/classes.html @@ -5,7 +5,7 @@ - plenoptic.metric.classes — plenoptic 1.1.1.dev52 documentation + plenoptic.metric.classes — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/metric/model_metric.html b/docs/pulls/307/_modules/plenoptic/metric/model_metric.html index 20f2359..f3c0042 100644 --- a/docs/pulls/307/_modules/plenoptic/metric/model_metric.html +++ b/docs/pulls/307/_modules/plenoptic/metric/model_metric.html @@ -5,7 +5,7 @@ - plenoptic.metric.model_metric — plenoptic 1.1.1.dev52 documentation + plenoptic.metric.model_metric — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/metric/naive.html b/docs/pulls/307/_modules/plenoptic/metric/naive.html index 22694dd..d11e364 100644 --- a/docs/pulls/307/_modules/plenoptic/metric/naive.html +++ b/docs/pulls/307/_modules/plenoptic/metric/naive.html @@ -5,7 +5,7 @@ - plenoptic.metric.naive — plenoptic 1.1.1.dev52 documentation + plenoptic.metric.naive — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/metric/perceptual_distance.html b/docs/pulls/307/_modules/plenoptic/metric/perceptual_distance.html index fa6cdcc..accd834 100644 --- a/docs/pulls/307/_modules/plenoptic/metric/perceptual_distance.html +++ b/docs/pulls/307/_modules/plenoptic/metric/perceptual_distance.html @@ -5,7 +5,7 @@ - plenoptic.metric.perceptual_distance — plenoptic 1.1.1.dev52 documentation + plenoptic.metric.perceptual_distance — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + @@ -158,8 +158,7 @@

Source code for plenoptic.metric.perceptual_distance

if not img1.ndim == img2.ndim == 4: raise Exception( - "Input images should have four dimensions: (batch, channel," - " height, width)" + "Input images should have four dimensions: (batch, channel, height, width)" ) if img1.shape[-2:] != img2.shape[-2:]: raise Exception("img1 and img2 must have the same height and width!") @@ -580,8 +579,7 @@

Source code for plenoptic.metric.perceptual_distance

if not img1.ndim == img2.ndim == 4: raise Exception( - "Input images should have four dimensions: (batch, channel," - " height, width)" + "Input images should have four dimensions: (batch, channel, height, width)" ) if img1.shape[-2:] != img2.shape[-2:]: raise Exception("img1 and img2 must have the same height and width!") diff --git a/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/filters.html b/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/filters.html index 5ed9edb..c81d156 100644 --- a/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/filters.html +++ b/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/filters.html @@ -5,7 +5,7 @@ - plenoptic.simulate.canonical_computations.filters — plenoptic 1.1.1.dev52 documentation + plenoptic.simulate.canonical_computations.filters — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/laplacian_pyramid.html b/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/laplacian_pyramid.html index 43b25ed..ade2e69 100644 --- a/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/laplacian_pyramid.html +++ b/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/laplacian_pyramid.html @@ -5,7 +5,7 @@ - plenoptic.simulate.canonical_computations.laplacian_pyramid — plenoptic 1.1.1.dev52 documentation + plenoptic.simulate.canonical_computations.laplacian_pyramid — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/non_linearities.html b/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/non_linearities.html index b8089c4..1516964 100644 --- a/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/non_linearities.html +++ b/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/non_linearities.html @@ -5,7 +5,7 @@ - plenoptic.simulate.canonical_computations.non_linearities — plenoptic 1.1.1.dev52 documentation + plenoptic.simulate.canonical_computations.non_linearities — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/steerable_pyramid_freq.html b/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/steerable_pyramid_freq.html index 6082bf4..e8ce95a 100644 --- a/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/steerable_pyramid_freq.html +++ b/docs/pulls/307/_modules/plenoptic/simulate/canonical_computations/steerable_pyramid_freq.html @@ -5,7 +5,7 @@ - plenoptic.simulate.canonical_computations.steerable_pyramid_freq — plenoptic 1.1.1.dev52 documentation + plenoptic.simulate.canonical_computations.steerable_pyramid_freq — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + @@ -426,9 +426,9 @@

Source code for plenoptic.simulate.canonical_computations.steerable_pyramid_ scales = self.scales scale_ints = [s for s in scales if isinstance(s, int)] if len(scale_ints) != 0: - assert (max(scale_ints) < self.num_scales) and ( - min(scale_ints) >= 0 - ), "Scales must be within 0 and num_scales-1" + assert (max(scale_ints) < self.num_scales) and (min(scale_ints) >= 0), ( + "Scales must be within 0 and num_scales-1" + ) angle = self.angle.copy() log_rad = self.log_rad.copy() lo0mask = self.lo0mask.clone() @@ -741,9 +741,9 @@

Source code for plenoptic.simulate.canonical_computations.steerable_pyramid_ ) levs_nums = np.array([int(i) for i in levels if isinstance(i, int)]) assert (levs_nums >= 0).all(), "Level numbers must be non-negative." - assert ( - levs_nums < self.num_scales - ).all(), f"Level numbers must be in the range [0, {self.num_scales - 1:d}]" + assert (levs_nums < self.num_scales).all(), ( + f"Level numbers must be in the range [0, {self.num_scales - 1:d}]" + ) levs_tmp = list(np.sort(levs_nums)) # we want smallest first if "residual_highpass" in levels: levs_tmp = ["residual_highpass"] + levs_tmp @@ -783,15 +783,13 @@

Source code for plenoptic.simulate.canonical_computations.steerable_pyramid_ if isinstance(bands, str): if bands != "all": raise TypeError( - "bands must be a list of ints or the string 'all' but got" - f" {bands}" + f"bands must be a list of ints or the string 'all' but got {bands}" ) bands = np.arange(self.num_orientations) else: if not hasattr(bands, "__iter__"): raise TypeError( - "bands must be a list of ints or the string 'all' but got" - f" {bands}" + f"bands must be a list of ints or the string 'all' but got {bands}" ) bands: NDArray = np.array(bands, ndmin=1) assert (bands >= 0).all(), "Error: band numbers must be larger than 0." @@ -1076,9 +1074,9 @@

Source code for plenoptic.simulate.canonical_computations.steerable_pyramid_ will have the same keys as `resteered_coeffs`. """ - assert ( - pyr_coeffs[(0, 0)].dtype not in complex_types - ), "steering only implemented for real coefficients" + assert pyr_coeffs[(0, 0)].dtype not in complex_types, ( + "steering only implemented for real coefficients" + ) resteered_coeffs = {} resteering_weights = {} num_scales = self.num_scales diff --git a/docs/pulls/307/_modules/plenoptic/simulate/models/frontend.html b/docs/pulls/307/_modules/plenoptic/simulate/models/frontend.html index dc36eac..828853e 100644 --- a/docs/pulls/307/_modules/plenoptic/simulate/models/frontend.html +++ b/docs/pulls/307/_modules/plenoptic/simulate/models/frontend.html @@ -5,7 +5,7 @@ - plenoptic.simulate.models.frontend — plenoptic 1.1.1.dev52 documentation + plenoptic.simulate.models.frontend — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/simulate/models/naive.html b/docs/pulls/307/_modules/plenoptic/simulate/models/naive.html index de0438a..097051d 100644 --- a/docs/pulls/307/_modules/plenoptic/simulate/models/naive.html +++ b/docs/pulls/307/_modules/plenoptic/simulate/models/naive.html @@ -5,7 +5,7 @@ - plenoptic.simulate.models.naive — plenoptic 1.1.1.dev52 documentation + plenoptic.simulate.models.naive — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + @@ -338,9 +338,9 @@

Source code for plenoptic.simulate.models.naive

< center_std = torch.ones(out_channels) * center_std if isinstance(surround_std, float) or surround_std.shape == torch.Size([]): surround_std = torch.ones(out_channels) * surround_std - assert ( - len(center_std) == out_channels and len(surround_std) == out_channels - ), "stds must correspond to each out_channel" + assert len(center_std) == out_channels and len(surround_std) == out_channels, ( + "stds must correspond to each out_channel" + ) assert amplitude_ratio >= 1.0, "ratio of amplitudes must at least be 1." self.on_center = on_center diff --git a/docs/pulls/307/_modules/plenoptic/simulate/models/portilla_simoncelli.html b/docs/pulls/307/_modules/plenoptic/simulate/models/portilla_simoncelli.html index c219d07..8e1016c 100644 --- a/docs/pulls/307/_modules/plenoptic/simulate/models/portilla_simoncelli.html +++ b/docs/pulls/307/_modules/plenoptic/simulate/models/portilla_simoncelli.html @@ -5,7 +5,7 @@ - plenoptic.simulate.models.portilla_simoncelli — plenoptic 1.1.1.dev52 documentation + plenoptic.simulate.models.portilla_simoncelli — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/synthesize/autodiff.html b/docs/pulls/307/_modules/plenoptic/synthesize/autodiff.html index 16088e5..3a5c71a 100644 --- a/docs/pulls/307/_modules/plenoptic/synthesize/autodiff.html +++ b/docs/pulls/307/_modules/plenoptic/synthesize/autodiff.html @@ -5,7 +5,7 @@ - plenoptic.synthesize.autodiff — plenoptic 1.1.1.dev52 documentation + plenoptic.synthesize.autodiff — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/synthesize/eigendistortion.html b/docs/pulls/307/_modules/plenoptic/synthesize/eigendistortion.html index 4986101..f56f5a0 100644 --- a/docs/pulls/307/_modules/plenoptic/synthesize/eigendistortion.html +++ b/docs/pulls/307/_modules/plenoptic/synthesize/eigendistortion.html @@ -5,7 +5,7 @@ - plenoptic.synthesize.eigendistortion — plenoptic 1.1.1.dev52 documentation + plenoptic.synthesize.eigendistortion — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + @@ -614,9 +614,9 @@

Source code for plenoptic.synthesize.eigendistortion

all_idx = self.eigenindex assert i in all_idx, "eigenindex must be the index of one of the vectors" - assert ( - all_idx is not None and len(all_idx) != 0 - ), "No eigendistortions synthesized" + assert all_idx is not None and len(all_idx) != 0, ( + "No eigendistortions synthesized" + ) return int(np.where(all_idx == i)[0])
diff --git a/docs/pulls/307/_modules/plenoptic/synthesize/geodesic.html b/docs/pulls/307/_modules/plenoptic/synthesize/geodesic.html index 360228f..a20258f 100644 --- a/docs/pulls/307/_modules/plenoptic/synthesize/geodesic.html +++ b/docs/pulls/307/_modules/plenoptic/synthesize/geodesic.html @@ -5,7 +5,7 @@ - plenoptic.synthesize.geodesic — plenoptic 1.1.1.dev52 documentation + plenoptic.synthesize.geodesic — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/synthesize/mad_competition.html b/docs/pulls/307/_modules/plenoptic/synthesize/mad_competition.html index 6ec06f9..98f93b3 100644 --- a/docs/pulls/307/_modules/plenoptic/synthesize/mad_competition.html +++ b/docs/pulls/307/_modules/plenoptic/synthesize/mad_competition.html @@ -5,7 +5,7 @@ - plenoptic.synthesize.mad_competition — plenoptic 1.1.1.dev52 documentation + plenoptic.synthesize.mad_competition — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + @@ -1338,8 +1338,7 @@

Source code for plenoptic.synthesize.mad_competition

) if mad.mad_image.ndim not in [3, 4]: raise ValueError( - "animate() expects 3 or 4d data; unexpected" - " behavior will result otherwise!" + "animate() expects 3 or 4d data; unexpected behavior will result otherwise!" ) _check_included_plots(included_plots, "included_plots") _check_included_plots(width_ratios, "width_ratios") diff --git a/docs/pulls/307/_modules/plenoptic/synthesize/metamer.html b/docs/pulls/307/_modules/plenoptic/synthesize/metamer.html index 992faf7..451323e 100644 --- a/docs/pulls/307/_modules/plenoptic/synthesize/metamer.html +++ b/docs/pulls/307/_modules/plenoptic/synthesize/metamer.html @@ -5,7 +5,7 @@ - plenoptic.synthesize.metamer — plenoptic 1.1.1.dev52 documentation + plenoptic.synthesize.metamer — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + @@ -1900,8 +1900,7 @@

Source code for plenoptic.synthesize.metamer

)
     if metamer.metamer.ndim not in [3, 4]:
         raise ValueError(
-            "animate() expects 3 or 4d data; unexpected"
-            " behavior will result otherwise!"
+            "animate() expects 3 or 4d data; unexpected behavior will result otherwise!"
         )
     _check_included_plots(included_plots, "included_plots")
     _check_included_plots(width_ratios, "width_ratios")
diff --git a/docs/pulls/307/_modules/plenoptic/synthesize/simple_metamer.html b/docs/pulls/307/_modules/plenoptic/synthesize/simple_metamer.html
index ab257ab..aafeea2 100644
--- a/docs/pulls/307/_modules/plenoptic/synthesize/simple_metamer.html
+++ b/docs/pulls/307/_modules/plenoptic/synthesize/simple_metamer.html
@@ -5,7 +5,7 @@
 
   
   
-  plenoptic.synthesize.simple_metamer — plenoptic 1.1.1.dev52 documentation
+  plenoptic.synthesize.simple_metamer — plenoptic 1.1.1.dev53 documentation
       
       
       
@@ -15,7 +15,7 @@
   
       
       
-      
+      
       
       
       
diff --git a/docs/pulls/307/_modules/plenoptic/synthesize/synthesis.html b/docs/pulls/307/_modules/plenoptic/synthesize/synthesis.html
index dcea07c..04656fb 100644
--- a/docs/pulls/307/_modules/plenoptic/synthesize/synthesis.html
+++ b/docs/pulls/307/_modules/plenoptic/synthesize/synthesis.html
@@ -5,7 +5,7 @@
 
   
   
-  plenoptic.synthesize.synthesis — plenoptic 1.1.1.dev52 documentation
+  plenoptic.synthesize.synthesis — plenoptic 1.1.1.dev53 documentation
       
       
       
@@ -15,7 +15,7 @@
   
       
       
-      
+      
       
       
       
@@ -310,7 +310,7 @@ 

Source code for plenoptic.synthesize.synthesis

"different! On two random tensors: " f"Initialized: {init_loss}, Saved: " f"{saved_loss}, difference: " - f"{init_loss-saved_loss}" + f"{init_loss - saved_loss}" ) for k, v in tmp_dict.items(): setattr(self, k, v)

diff --git a/docs/pulls/307/_modules/plenoptic/tools/conv.html b/docs/pulls/307/_modules/plenoptic/tools/conv.html index 757930a..7162150 100644 --- a/docs/pulls/307/_modules/plenoptic/tools/conv.html +++ b/docs/pulls/307/_modules/plenoptic/tools/conv.html @@ -5,7 +5,7 @@ - plenoptic.tools.conv — plenoptic 1.1.1.dev52 documentation + plenoptic.tools.conv — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/tools/convergence.html b/docs/pulls/307/_modules/plenoptic/tools/convergence.html index 49c2285..35ddc2c 100644 --- a/docs/pulls/307/_modules/plenoptic/tools/convergence.html +++ b/docs/pulls/307/_modules/plenoptic/tools/convergence.html @@ -5,7 +5,7 @@ - plenoptic.tools.convergence — plenoptic 1.1.1.dev52 documentation + plenoptic.tools.convergence — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/_modules/plenoptic/tools/data.html b/docs/pulls/307/_modules/plenoptic/tools/data.html index 6f0bef4..93f95ca 100644 --- a/docs/pulls/307/_modules/plenoptic/tools/data.html +++ b/docs/pulls/307/_modules/plenoptic/tools/data.html @@ -5,7 +5,7 @@ - plenoptic.tools.data — plenoptic 1.1.1.dev52 documentation + plenoptic.tools.data — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + @@ -227,8 +227,7 @@

Source code for plenoptic.tools.data

             im = imageio.imread(p)
         except ValueError:
             warnings.warn(
-                f"Unable to load in file {p}, it's probably not "
-                "an image, skipping..."
+                f"Unable to load in file {p}, it's probably not an image, skipping..."
             )
             continue
         # make it a float32 array with values between 0 and 1
@@ -259,7 +258,7 @@ 

Source code for plenoptic.tools.data

     if as_gray:
         if images.ndimension() != 3:
             raise ValueError(
-                "For loading in images as grayscale, this should be a 3d" " tensor!"
+                "For loading in images as grayscale, this should be a 3d tensor!"
             )
         images = images.unsqueeze(1)
     else:
@@ -271,7 +270,7 @@ 

Source code for plenoptic.tools.data

             images = images.unsqueeze(0) if len(paths) > 1 else images.unsqueeze(1)
     if images.ndimension() != 4:
         raise ValueError(
-            "Somehow ended up with other than 4 dimensions! Not sure how we" " got here"
+            "Somehow ended up with other than 4 dimensions! Not sure how we got here"
         )
     return images
diff --git a/docs/pulls/307/_modules/plenoptic/tools/display.html b/docs/pulls/307/_modules/plenoptic/tools/display.html index e169a53..726beae 100644 --- a/docs/pulls/307/_modules/plenoptic/tools/display.html +++ b/docs/pulls/307/_modules/plenoptic/tools/display.html @@ -5,7 +5,7 @@ - plenoptic.tools.display — plenoptic 1.1.1.dev52 documentation + plenoptic.tools.display — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + @@ -248,7 +248,7 @@

Source code for plenoptic.tools.display

         if as_rgb:
             if im.shape[1] not in [3, 4]:
                 raise Exception(
-                    "If as_rgb is True, then channel must have 3 " "or 4 elements!"
+                    "If as_rgb is True, then channel must have 3 or 4 elements!"
                 )
             im = im.transpose(0, 2, 3, 1)
             # want to insert a fake "channel" dimension here, so our putting it
@@ -459,7 +459,7 @@ 

Source code for plenoptic.tools.display

         if as_rgb:
             if vid.shape[1] not in [3, 4]:
                 raise Exception(
-                    "If as_rgb is True, then channel must have 3 " "or 4 elements!"
+                    "If as_rgb is True, then channel must have 3 or 4 elements!"
                 )
             vid = vid.transpose(0, 2, 3, 4, 1)
             # want to insert a fake "channel" dimension here, so our putting it
diff --git a/docs/pulls/307/_modules/plenoptic/tools/external.html b/docs/pulls/307/_modules/plenoptic/tools/external.html
index 7b316bd..8478106 100644
--- a/docs/pulls/307/_modules/plenoptic/tools/external.html
+++ b/docs/pulls/307/_modules/plenoptic/tools/external.html
@@ -5,7 +5,7 @@
 
   
   
-  plenoptic.tools.external — plenoptic 1.1.1.dev52 documentation
+  plenoptic.tools.external — plenoptic 1.1.1.dev53 documentation
       
       
       
@@ -15,7 +15,7 @@
   
       
       
-      
+      
       
       
       
diff --git a/docs/pulls/307/_modules/plenoptic/tools/optim.html b/docs/pulls/307/_modules/plenoptic/tools/optim.html
index 80d4a85..5dea308 100644
--- a/docs/pulls/307/_modules/plenoptic/tools/optim.html
+++ b/docs/pulls/307/_modules/plenoptic/tools/optim.html
@@ -5,7 +5,7 @@
 
   
   
-  plenoptic.tools.optim — plenoptic 1.1.1.dev52 documentation
+  plenoptic.tools.optim — plenoptic 1.1.1.dev53 documentation
       
       
       
@@ -15,7 +15,7 @@
   
       
       
-      
+      
       
       
       
diff --git a/docs/pulls/307/_modules/plenoptic/tools/signal.html b/docs/pulls/307/_modules/plenoptic/tools/signal.html
index 7d86487..2ab2c43 100644
--- a/docs/pulls/307/_modules/plenoptic/tools/signal.html
+++ b/docs/pulls/307/_modules/plenoptic/tools/signal.html
@@ -5,7 +5,7 @@
 
   
   
-  plenoptic.tools.signal — plenoptic 1.1.1.dev52 documentation
+  plenoptic.tools.signal — plenoptic 1.1.1.dev53 documentation
       
       
       
@@ -15,7 +15,7 @@
   
       
       
-      
+      
       
       
       
diff --git a/docs/pulls/307/_modules/plenoptic/tools/stats.html b/docs/pulls/307/_modules/plenoptic/tools/stats.html
index ee6730e..81014c9 100644
--- a/docs/pulls/307/_modules/plenoptic/tools/stats.html
+++ b/docs/pulls/307/_modules/plenoptic/tools/stats.html
@@ -5,7 +5,7 @@
 
   
   
-  plenoptic.tools.stats — plenoptic 1.1.1.dev52 documentation
+  plenoptic.tools.stats — plenoptic 1.1.1.dev53 documentation
       
       
       
@@ -15,7 +15,7 @@
   
       
       
-      
+      
       
       
       
diff --git a/docs/pulls/307/_modules/plenoptic/tools/straightness.html b/docs/pulls/307/_modules/plenoptic/tools/straightness.html
index 638cad6..9b96b0d 100644
--- a/docs/pulls/307/_modules/plenoptic/tools/straightness.html
+++ b/docs/pulls/307/_modules/plenoptic/tools/straightness.html
@@ -5,7 +5,7 @@
 
   
   
-  plenoptic.tools.straightness — plenoptic 1.1.1.dev52 documentation
+  plenoptic.tools.straightness — plenoptic 1.1.1.dev53 documentation
       
       
       
@@ -15,7 +15,7 @@
   
       
       
-      
+      
       
       
       
diff --git a/docs/pulls/307/_modules/plenoptic/tools/validate.html b/docs/pulls/307/_modules/plenoptic/tools/validate.html
index 9be2fd0..3f0e0b7 100644
--- a/docs/pulls/307/_modules/plenoptic/tools/validate.html
+++ b/docs/pulls/307/_modules/plenoptic/tools/validate.html
@@ -5,7 +5,7 @@
 
   
   
-  plenoptic.tools.validate — plenoptic 1.1.1.dev52 documentation
+  plenoptic.tools.validate — plenoptic 1.1.1.dev53 documentation
       
       
       
@@ -15,7 +15,7 @@
   
       
       
-      
+      
       
       
       
@@ -296,7 +296,7 @@ 

Source code for plenoptic.tools.validate

         allowed_dtypes = [torch.float64, torch.complex128]
     else:
         raise TypeError(
-            "Only float or complex dtypes are allowed but got type" f" {image_dtype}"
+            f"Only float or complex dtypes are allowed but got type {image_dtype}"
         )
     if model(test_img).dtype not in allowed_dtypes:
         raise TypeError("model changes precision of input, don't do that!")
@@ -369,8 +369,7 @@ 

Source code for plenoptic.tools.validate

                     )
             except TypeError:
                 raise TypeError(
-                    "model forward method does not accept scales argument"
-                    f" {sc} {msg}"
+                    f"model forward method does not accept scales argument {sc} {msg}"
                 )
diff --git a/docs/pulls/307/_static/documentation_options.js b/docs/pulls/307/_static/documentation_options.js index 1c7ead9..e7e7111 100644 --- a/docs/pulls/307/_static/documentation_options.js +++ b/docs/pulls/307/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '1.1.1.dev52', + VERSION: '1.1.1.dev53', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/pulls/307/api/modules.html b/docs/pulls/307/api/modules.html index 81f51d0..74dc653 100644 --- a/docs/pulls/307/api/modules.html +++ b/docs/pulls/307/api/modules.html @@ -6,7 +6,7 @@ - plenoptic — plenoptic 1.1.1.dev52 documentation + plenoptic — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/api/plenoptic.data.html b/docs/pulls/307/api/plenoptic.data.html index 311b983..fff1dd3 100644 --- a/docs/pulls/307/api/plenoptic.data.html +++ b/docs/pulls/307/api/plenoptic.data.html @@ -6,7 +6,7 @@ - plenoptic.data package — plenoptic 1.1.1.dev52 documentation + plenoptic.data package — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/api/plenoptic.html b/docs/pulls/307/api/plenoptic.html index 256859a..48fec4a 100644 --- a/docs/pulls/307/api/plenoptic.html +++ b/docs/pulls/307/api/plenoptic.html @@ -6,7 +6,7 @@ - plenoptic package — plenoptic 1.1.1.dev52 documentation + plenoptic package — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/api/plenoptic.metric.html b/docs/pulls/307/api/plenoptic.metric.html index c35f4ec..ea47c8d 100644 --- a/docs/pulls/307/api/plenoptic.metric.html +++ b/docs/pulls/307/api/plenoptic.metric.html @@ -6,7 +6,7 @@ - plenoptic.metric package — plenoptic 1.1.1.dev52 documentation + plenoptic.metric package — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/api/plenoptic.simulate.canonical_computations.html b/docs/pulls/307/api/plenoptic.simulate.canonical_computations.html index ce6c7c3..48eb536 100644 --- a/docs/pulls/307/api/plenoptic.simulate.canonical_computations.html +++ b/docs/pulls/307/api/plenoptic.simulate.canonical_computations.html @@ -6,7 +6,7 @@ - plenoptic.simulate.canonical_computations package — plenoptic 1.1.1.dev52 documentation + plenoptic.simulate.canonical_computations package — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/api/plenoptic.simulate.html b/docs/pulls/307/api/plenoptic.simulate.html index 8c86f44..dfc5130 100644 --- a/docs/pulls/307/api/plenoptic.simulate.html +++ b/docs/pulls/307/api/plenoptic.simulate.html @@ -6,7 +6,7 @@ - plenoptic.simulate package — plenoptic 1.1.1.dev52 documentation + plenoptic.simulate package — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/api/plenoptic.simulate.models.html b/docs/pulls/307/api/plenoptic.simulate.models.html index 71d71d4..e408f2c 100644 --- a/docs/pulls/307/api/plenoptic.simulate.models.html +++ b/docs/pulls/307/api/plenoptic.simulate.models.html @@ -6,7 +6,7 @@ - plenoptic.simulate.models package — plenoptic 1.1.1.dev52 documentation + plenoptic.simulate.models package — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/api/plenoptic.synthesize.html b/docs/pulls/307/api/plenoptic.synthesize.html index e1f6489..b250f96 100644 --- a/docs/pulls/307/api/plenoptic.synthesize.html +++ b/docs/pulls/307/api/plenoptic.synthesize.html @@ -6,7 +6,7 @@ - plenoptic.synthesize package — plenoptic 1.1.1.dev52 documentation + plenoptic.synthesize package — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/api/plenoptic.tools.html b/docs/pulls/307/api/plenoptic.tools.html index 3ad4b0a..48d8ab3 100644 --- a/docs/pulls/307/api/plenoptic.tools.html +++ b/docs/pulls/307/api/plenoptic.tools.html @@ -6,7 +6,7 @@ - plenoptic.tools package — plenoptic 1.1.1.dev52 documentation + plenoptic.tools package — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/citation.html b/docs/pulls/307/citation.html index 9c73af1..5783a8b 100644 --- a/docs/pulls/307/citation.html +++ b/docs/pulls/307/citation.html @@ -6,7 +6,7 @@ - Citation Guide — plenoptic 1.1.1.dev52 documentation + Citation Guide — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/conceptual_intro.html b/docs/pulls/307/conceptual_intro.html index 3b37a12..b385a77 100644 --- a/docs/pulls/307/conceptual_intro.html +++ b/docs/pulls/307/conceptual_intro.html @@ -6,7 +6,7 @@ - Conceptual Introduction — plenoptic 1.1.1.dev52 documentation + Conceptual Introduction — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/genindex.html b/docs/pulls/307/genindex.html index 5b4caf4..8dee225 100644 --- a/docs/pulls/307/genindex.html +++ b/docs/pulls/307/genindex.html @@ -5,7 +5,7 @@ - Index — plenoptic 1.1.1.dev52 documentation + Index — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/index.html b/docs/pulls/307/index.html index bffe407..a89025c 100644 --- a/docs/pulls/307/index.html +++ b/docs/pulls/307/index.html @@ -6,7 +6,7 @@ - plenoptic — plenoptic 1.1.1.dev52 documentation + plenoptic — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/install.html b/docs/pulls/307/install.html index 5fed011..5157513 100644 --- a/docs/pulls/307/install.html +++ b/docs/pulls/307/install.html @@ -6,7 +6,7 @@ - Installation — plenoptic 1.1.1.dev52 documentation + Installation — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/jupyter.html b/docs/pulls/307/jupyter.html index 9991f21..cd17cb6 100644 --- a/docs/pulls/307/jupyter.html +++ b/docs/pulls/307/jupyter.html @@ -6,7 +6,7 @@ - Using Jupyter to Run Example Notebooks — plenoptic 1.1.1.dev52 documentation + Using Jupyter to Run Example Notebooks — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/models.html b/docs/pulls/307/models.html index 766fcc7..f851936 100644 --- a/docs/pulls/307/models.html +++ b/docs/pulls/307/models.html @@ -6,7 +6,7 @@ - Model requirements — plenoptic 1.1.1.dev52 documentation + Model requirements — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/py-modindex.html b/docs/pulls/307/py-modindex.html index 0d92774..e967c96 100644 --- a/docs/pulls/307/py-modindex.html +++ b/docs/pulls/307/py-modindex.html @@ -5,7 +5,7 @@ - Python Module Index — plenoptic 1.1.1.dev52 documentation + Python Module Index — plenoptic 1.1.1.dev53 documentation @@ -15,7 +15,7 @@ - + diff --git a/docs/pulls/307/reproducibility.html b/docs/pulls/307/reproducibility.html index 717a5da..fc2f9dd 100644 --- a/docs/pulls/307/reproducibility.html +++ b/docs/pulls/307/reproducibility.html @@ -6,7 +6,7 @@ - Reproducibility — plenoptic 1.1.1.dev52 documentation + Reproducibility — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/search.html b/docs/pulls/307/search.html index 4571f57..a9e3b3d 100644 --- a/docs/pulls/307/search.html +++ b/docs/pulls/307/search.html @@ -5,7 +5,7 @@ - Search — plenoptic 1.1.1.dev52 documentation + Search — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/synthesis.html b/docs/pulls/307/synthesis.html index 0e512b3..72ddd7c 100644 --- a/docs/pulls/307/synthesis.html +++ b/docs/pulls/307/synthesis.html @@ -6,7 +6,7 @@ - Synthesis object design — plenoptic 1.1.1.dev52 documentation + Synthesis object design — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/tips.html b/docs/pulls/307/tips.html index 16ebac6..29e00ce 100644 --- a/docs/pulls/307/tips.html +++ b/docs/pulls/307/tips.html @@ -6,7 +6,7 @@ - Tips and Tricks — plenoptic 1.1.1.dev52 documentation + Tips and Tricks — plenoptic 1.1.1.dev53 documentation @@ -16,7 +16,7 @@ - + diff --git a/docs/pulls/307/tutorials/00_quickstart.html b/docs/pulls/307/tutorials/00_quickstart.html index 43c3f17..07f094a 100644 --- a/docs/pulls/307/tutorials/00_quickstart.html +++ b/docs/pulls/307/tutorials/00_quickstart.html @@ -6,7 +6,7 @@ - Quickstart — plenoptic 1.1.1.dev52 documentation + Quickstart — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + diff --git a/docs/pulls/307/tutorials/advanced/Display.html b/docs/pulls/307/tutorials/advanced/Display.html index f5eded3..88ea505 100644 --- a/docs/pulls/307/tutorials/advanced/Display.html +++ b/docs/pulls/307/tutorials/advanced/Display.html @@ -6,7 +6,7 @@ - Display and animate functions — plenoptic 1.1.1.dev52 documentation + Display and animate functions — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + diff --git a/docs/pulls/307/tutorials/advanced/Synthesis_extensions.html b/docs/pulls/307/tutorials/advanced/Synthesis_extensions.html index 0b5f162..5127071 100644 --- a/docs/pulls/307/tutorials/advanced/Synthesis_extensions.html +++ b/docs/pulls/307/tutorials/advanced/Synthesis_extensions.html @@ -6,7 +6,7 @@ - Extending existing synthesis objects — plenoptic 1.1.1.dev52 documentation + Extending existing synthesis objects — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + diff --git a/docs/pulls/307/tutorials/applications/09_Original_MAD.html b/docs/pulls/307/tutorials/applications/09_Original_MAD.html index 731ef4c..11dceff 100644 --- a/docs/pulls/307/tutorials/applications/09_Original_MAD.html +++ b/docs/pulls/307/tutorials/applications/09_Original_MAD.html @@ -6,7 +6,7 @@ - Reproducing Wang and Simoncelli, 2008 (MAD Competition) — plenoptic 1.1.1.dev52 documentation + Reproducing Wang and Simoncelli, 2008 (MAD Competition) — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + diff --git a/docs/pulls/307/tutorials/applications/Demo_Eigendistortion.html b/docs/pulls/307/tutorials/applications/Demo_Eigendistortion.html index e66c6e2..26142aa 100644 --- a/docs/pulls/307/tutorials/applications/Demo_Eigendistortion.html +++ b/docs/pulls/307/tutorials/applications/Demo_Eigendistortion.html @@ -6,7 +6,7 @@ - Reproducing Berardino et al., 2017 (Eigendistortions) — plenoptic 1.1.1.dev52 documentation + Reproducing Berardino et al., 2017 (Eigendistortions) — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + diff --git a/docs/pulls/307/tutorials/intro/02_Eigendistortions.html b/docs/pulls/307/tutorials/intro/02_Eigendistortions.html index 0eba759..9b166ea 100644 --- a/docs/pulls/307/tutorials/intro/02_Eigendistortions.html +++ b/docs/pulls/307/tutorials/intro/02_Eigendistortions.html @@ -6,7 +6,7 @@ - Eigendistortions — plenoptic 1.1.1.dev52 documentation + Eigendistortions — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + diff --git a/docs/pulls/307/tutorials/intro/06_Metamer.html b/docs/pulls/307/tutorials/intro/06_Metamer.html index aa2e9b1..3f9c11b 100644 --- a/docs/pulls/307/tutorials/intro/06_Metamer.html +++ b/docs/pulls/307/tutorials/intro/06_Metamer.html @@ -6,7 +6,7 @@ - Metamers — plenoptic 1.1.1.dev52 documentation + Metamers — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + diff --git a/docs/pulls/307/tutorials/intro/07_Simple_MAD.html b/docs/pulls/307/tutorials/intro/07_Simple_MAD.html index d3a01b7..b3fa01b 100644 --- a/docs/pulls/307/tutorials/intro/07_Simple_MAD.html +++ b/docs/pulls/307/tutorials/intro/07_Simple_MAD.html @@ -6,7 +6,7 @@ - MAD Competition Conceptual Introduction — plenoptic 1.1.1.dev52 documentation + MAD Competition Conceptual Introduction — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + diff --git a/docs/pulls/307/tutorials/intro/08_MAD_Competition.html b/docs/pulls/307/tutorials/intro/08_MAD_Competition.html index e2275dd..ad19773 100644 --- a/docs/pulls/307/tutorials/intro/08_MAD_Competition.html +++ b/docs/pulls/307/tutorials/intro/08_MAD_Competition.html @@ -6,7 +6,7 @@ - MAD Competition Usage — plenoptic 1.1.1.dev52 documentation + MAD Competition Usage — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + diff --git a/docs/pulls/307/tutorials/models/03_Steerable_Pyramid.html b/docs/pulls/307/tutorials/models/03_Steerable_Pyramid.html index 5edd7c1..22472b0 100644 --- a/docs/pulls/307/tutorials/models/03_Steerable_Pyramid.html +++ b/docs/pulls/307/tutorials/models/03_Steerable_Pyramid.html @@ -6,7 +6,7 @@ - Steerable Pyramid — plenoptic 1.1.1.dev52 documentation + Steerable Pyramid — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + diff --git a/docs/pulls/307/tutorials/models/04_Perceptual_distance.html b/docs/pulls/307/tutorials/models/04_Perceptual_distance.html index 6ce5659..bdfa9a2 100644 --- a/docs/pulls/307/tutorials/models/04_Perceptual_distance.html +++ b/docs/pulls/307/tutorials/models/04_Perceptual_distance.html @@ -6,7 +6,7 @@ - Perceptual distance — plenoptic 1.1.1.dev52 documentation + Perceptual distance — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - + @@ -423,7 +423,7 @@

Comparison of performancereference_filemap = {s.lower(): s for s in os.listdir(folder / "reference_images")} distorted_filemap = {s.lower(): s for s in os.listdir(folder / "distorted_images")} for i in range(25): - reference_filename = reference_filemap[f"i{i+1:02d}.bmp"] + reference_filename = reference_filemap[f"i{i + 1:02d}.bmp"] reference_images[i] = ( torch.as_tensor( np.asarray( @@ -437,7 +437,7 @@

Comparison of performancefor j in range(24): for k in range(5): distorted_filename = distorted_filemap[ - f"i{i+1:02d}_{j+1:02d}_{k+1}.bmp" + f"i{i + 1:02d}_{j + 1:02d}_{k + 1}.bmp" ] distorted_images[i, j, k] = ( torch.as_tensor( diff --git a/docs/pulls/307/tutorials/models/04_Perceptual_distance.ipynb b/docs/pulls/307/tutorials/models/04_Perceptual_distance.ipynb index dc9f277..c963854 100644 --- a/docs/pulls/307/tutorials/models/04_Perceptual_distance.ipynb +++ b/docs/pulls/307/tutorials/models/04_Perceptual_distance.ipynb @@ -422,7 +422,7 @@ " reference_filemap = {s.lower(): s for s in os.listdir(folder / \"reference_images\")}\n", " distorted_filemap = {s.lower(): s for s in os.listdir(folder / \"distorted_images\")}\n", " for i in range(25):\n", - " reference_filename = reference_filemap[f\"i{i+1:02d}.bmp\"]\n", + " reference_filename = reference_filemap[f\"i{i + 1:02d}.bmp\"]\n", " reference_images[i] = (\n", " torch.as_tensor(\n", " np.asarray(\n", @@ -436,7 +436,7 @@ " for j in range(24):\n", " for k in range(5):\n", " distorted_filename = distorted_filemap[\n", - " f\"i{i+1:02d}_{j+1:02d}_{k+1}.bmp\"\n", + " f\"i{i + 1:02d}_{j + 1:02d}_{k + 1}.bmp\"\n", " ]\n", " distorted_images[i, j, k] = (\n", " torch.as_tensor(\n", diff --git a/docs/pulls/307/tutorials/models/Metamer-Portilla-Simoncelli.html b/docs/pulls/307/tutorials/models/Metamer-Portilla-Simoncelli.html index bf57a30..de098bd 100644 --- a/docs/pulls/307/tutorials/models/Metamer-Portilla-Simoncelli.html +++ b/docs/pulls/307/tutorials/models/Metamer-Portilla-Simoncelli.html @@ -6,7 +6,7 @@ - Portilla-Simoncelli Texture Metamer — plenoptic 1.1.1.dev52 documentation + Portilla-Simoncelli Texture Metamer — plenoptic 1.1.1.dev53 documentation @@ -17,7 +17,7 @@ - +