Imaging with AIRI#

This notebook reconstructs one monochromatic radio-interferometric image with AI for Regularization in Imaging, or AIRI. The example uses channel 2 of the simulated 3C 353 measurement data included with the repository and launches pyHyperRI through the installed hyri-imaging command.

AIRI uses a trained denoising neural network as an image regulariser inside a forward-backward optimisation structure. In this tutorial, the packaged OAID denoiser shelf is used as specified in config/tutorial.json.

What this notebook covers#

By the end of the notebook, you should have seen how to:

  • inspect the example measurement data and \(uv\) coverage;

  • select an AIRI denoiser shelf;

  • run a single-channel AIRI reconstruction with hyri-imaging;

  • load and visualise the main FITS outputs;

  • calculate simple reconstruction metrics.

RI imaging problem#

The RI measurement process can be written as

\[ \boldsymbol{y} = \boldsymbol{\Phi}\bar{\boldsymbol{x}} + \boldsymbol{n}, \]

where \(\boldsymbol{y}\) is the complex visibility vector, \(\bar{\boldsymbol{x}}\) is the unknown sky image, \(\boldsymbol{\Phi}\) is the measurement operator associated with incomplete Fourier sampling, and \(\boldsymbol{n}\) is measurement noise.

AIRI reconstructs an image by alternating data-consistency steps with a learned denoising regulariser. The denoiser is selected from a shelf of ONNX networks according to the estimated image scale and noise level. In other words, the reconstruction aims to recover the image \(\bar{\boldsymbol{x}}\) from the measurements \(\boldsymbol{y}\).

Setup#

This notebook assumes it is run from docs/tutorials/ and that pyHyperRI has already been installed, so hyri-imaging is available on the command line.

If pyHyperRI is not installed yet, follow the Installation guide first.

import subprocess
from pathlib import Path

from importlib import resources
import matplotlib.pyplot as plt
import numpy as np
import torch
from astropy.constants import c
from astropy.io import fits

from hyri.interface.io import load_mat_to_np

plt.rcParams.update({
    "font.size": 8,
    "axes.titlesize": 9,
    "axes.labelsize": 8,
    "xtick.labelsize": 7,
    "ytick.labelsize": 7,
    "legend.fontsize": 7,
})

NOTEBOOK_DIR = Path.cwd()
ROOT = (NOTEBOOK_DIR / ".." / "..").resolve()
DATA_DIR = ROOT / "data" / "3c353_sim_vla_meas_hs"
CONFIG_PATH = ROOT / "config" / "tutorial.json"
RESULT_BASE = ROOT / "results" / "tutorials"
SRC_NAME = "airi_ch2"
RESULT_DIR = RESULT_BASE / SRC_NAME
DENOISER_SHELF = "shelf_airi_oaid.csv"

print(f"Notebook directory: {NOTEBOOK_DIR}")
print(f"Repository root: {ROOT}")
print(f"PyTorch: {torch.__version__}")
print(f"CUDA available: {torch.cuda.is_available()}")
if torch.cuda.is_available():
    print(f"CUDA device: {torch.cuda.get_device_name(0)}")
Notebook directory: /mnt/py-hyper-ri/docs/tutorials
Repository root: /mnt/py-hyper-ri
PyTorch: 2.10.0+cu128
CUDA available: True
CUDA device: NVIDIA A100-SXM4-40GB MIG 1g.5gb

Inspect the example data#

pyHyperRI expects a measurement directory containing one msSpecs.mat metadata file and one data_ch_<index>.mat file per physical channel. The tutorial configuration selects channel 2 only:

{
    "ch_start": 2,
    "ch_last": 2,
    "ch_effective": 1
}
required_files = [
    CONFIG_PATH,
    DATA_DIR / "msSpecs.mat",
    DATA_DIR / "data_ch_2.mat",
    DATA_DIR / "groundtruth.fits",
]
missing = [path for path in required_files if not path.is_file()]
if missing:
    raise FileNotFoundError(
        "Missing required files: " + ", ".join(str(path) for path in missing)
    )

for path in sorted(DATA_DIR.iterdir()):
    if path.suffix in {".mat", ".fits"}:
        print(path.relative_to(ROOT))
data/3c353_sim_vla_meas_hs/data_ch_1.mat
data/3c353_sim_vla_meas_hs/data_ch_2.mat
data/3c353_sim_vla_meas_hs/dirty_normalised.fits
data/3c353_sim_vla_meas_hs/groundtruth.fits
data/3c353_sim_vla_meas_hs/msSpecs.mat
data/3c353_sim_vla_meas_hs/psf.fits

The metadata file stores the sampling coordinates and channel frequencies. The per-channel file stores the measured visibilities and optional channel weights or flags. The following cell prints the available fields and their array shapes.

ms_specs = load_mat_to_np(str(DATA_DIR / "msSpecs.mat"))
meas_ch2 = load_mat_to_np(str(DATA_DIR / "data_ch_2.mat"))


def describe_fields(name, mapping):
    print(name)
    for key, value in sorted(mapping.items()):
        arr = np.asarray(value)
        if arr.shape == () or arr.size == 1:
            print(f"  {key}: scalar")
        else:
            print(f"  {key}: shape={arr.shape}, dtype={arr.dtype}")


describe_fields("msSpecs.mat", ms_specs)
describe_fields("data_ch_2.mat", meas_ch2)
msSpecs.mat
  freqs: shape=(1, 2), dtype=float64
  sigma: shape=(1, 2), dtype=float64
  tau: shape=(1, 2), dtype=float64
  uvw: shape=(3, 1652157), dtype=float64
data_ch_2.mat
  data_I: shape=(1, 1652157), dtype=complex128
  weightsImg: shape=(2,), dtype=uint64
  weightsNat: scalar

The 2D Fourier sampling pattern is usually called the \(uv\) coverage. Here, the stored coordinates are converted from metres to wavelength units for channel 2 before plotting. The sampling pattern is scaled by a super-resolution factor of \(1.5\), matching the imaging settings in config/tutorial.json.

super_resolution = 1.5
freqs = np.asarray(ms_specs["freqs"]).squeeze()
freq_ch2 = float(freqs[1])
uvw_m = np.asarray(ms_specs["uvw"]).squeeze()

if uvw_m.shape[0] == 3:
    u_m, v_m = uvw_m[0], uvw_m[1]
else:
    u_m, v_m = uvw_m[:, 0], uvw_m[:, 1]

u = np.ravel(u_m) * freq_ch2 / c.value
v = np.ravel(v_m) * freq_ch2 / c.value
max_proj_baseline = np.max(np.sqrt(u**2 + v**2))
axis_limit = super_resolution * max_proj_baseline

fig, ax = plt.subplots(figsize=(2, 2), dpi=300, constrained_layout=True)
ax.scatter(
    u,
    v,
    s=0.1,
    alpha=0.5,
    marker=".",
    linewidths=0,
    rasterized=True,
)
ax.set_aspect("equal", adjustable="box")
ax.set_xlim(-axis_limit, axis_limit)
ax.set_ylim(-axis_limit, axis_limit)
ax.ticklabel_format(style="sci", axis="both", scilimits=(0, 0))
ax.set_xlabel("u / wavelength")
ax.set_ylabel("v / wavelength")
ax.set_title("uv coverage for channel 2")
plt.show()
../_images/1fc582fe16885fbbd97f3a72cd3777307e38e59d9c77acda652b84bc5c8411a5.png

AIRI denoiser shelf#

The packaged AIRI shelves list ONNX denoisers trained for different noise levels. This tutorial uses the OAID shelf, shelf_airi_oaid.csv. The package also includes another shelf for AIRI, shelf_airi_mrid.csv. Each shelf CSV file has two columns. The first column gives the denoiser training noise level, and the second column gives the path to the corresponding ONNX file.

print(f"Denoiser shelf: {DENOISER_SHELF}")
package_denoiser_dir = resources.files("hyri").joinpath("airi_denoisers")
package_shelf_path = package_denoiser_dir.joinpath(DENOISER_SHELF)
if not package_shelf_path.is_file():
    raise FileNotFoundError(f"Denoiser shelf not found: {package_shelf_path}")

with package_shelf_path.open("r", encoding="utf-8") as f:
    print(f.read())
Denoiser shelf: shelf_airi_oaid.csv
2.5e-6,v1_airi_astro-based_oaid_shelf/airi_oaid_dncnn_noise_2.5e-6_seed_0.onnx
5.0e-6,v1_airi_astro-based_oaid_shelf/airi_oaid_dncnn_noise_5.0e-6_seed_0.onnx
1.0e-5,v1_airi_astro-based_oaid_shelf/airi_oaid_dncnn_noise_1.0e-5_seed_0.onnx
2.0e-5,v1_airi_astro-based_oaid_shelf/airi_oaid_dncnn_noise_2.0e-5_seed_0.onnx
4.0e-5,v1_airi_astro-based_oaid_shelf/airi_oaid_dncnn_noise_4.0e-5_seed_0.onnx
8.0e-5,v1_airi_astro-based_oaid_shelf/airi_oaid_dncnn_noise_8.0e-5_seed_0.onnx
1.6e-4,v1_airi_astro-based_oaid_shelf/airi_oaid_dncnn_noise_1.6e-4_seed_0.onnx
3.2e-4,v1_airi_astro-based_oaid_shelf/airi_oaid_dncnn_noise_3.2e-4_seed_0.onnx

A custom shelf can be used by creating a CSV file with the same structure and passing its path either in the JSON configuration file or as a command-line argument with --dnn_shelf_path.

Run AIRI#

The command below uses config/tutorial.json and overrides only the run-specific fields. The result path is set to results/tutorials/airi_ch2/.

cmd = [
    "hyri-imaging",
    "--config",
    str(CONFIG_PATH),
    "--algorithm",
    "airi",
    "--data_file",
    str(DATA_DIR),
    "--result_path",
    str(RESULT_BASE),
    "--src_name",
    SRC_NAME,
    "--dnn_shelf_path",
    DENOISER_SHELF,
]

print(" ".join(cmd))
subprocess.run(cmd, cwd=ROOT, check=True)
hyri-imaging --config /mnt/py-hyper-ri/config/tutorial.json --algorithm airi --data_file /mnt/py-hyper-ri/data/3c353_sim_vla_meas_hs --result_path /mnt/py-hyper-ri/results/tutorials --src_name airi_ch2 --dnn_shelf_path shelf_airi_oaid.csv
Input parameters
{
    "src_name": "airi_ch2",
    "data_file": "/mnt/py-hyper-ri/data/3c353_sim_vla_meas_hs",
    "result_path": "/mnt/py-hyper-ri/results/tutorials",
    "algorithm": "airi",
    "im_dim_x": 512,
    "im_dim_y": 512,
    "ch_start": 2,
    "ch_last": 2,
    "ch_effective": 1,
    "ch_partition": [],
    "im_pixel_size": [],
    "superresolution": 1.5,
    "groundtruth": [],
    "run_id": [],
    "flag_imaging": true,
    "flag_data_weighting": true,
    "invert_uvw_flag": false,
    "verbose": true,
    "weight_load": false,
    "weight_type": "briggs",
    "weight_robustness": 0,
    "weight_gridsize": 2,
    "meas_device": "cuda",
    "meas_dtype": "single",
    "regulariser_device": "cuda",
    "regulariser_dtype": "single",
    "dist_backend": "nccl",
    "dist_init_method": "env://",
    "nufft_package": "finufft",
    "nufft_mode": [],
    "heu_noise_scale": 1.0,
    "dnn_shelf_path": "shelf_airi_oaid.csv",
    "im_peak_est": [],
    "dnn_adaptive_peak": true,
    "dnn_apply_transform": true,
    "approx_meas_op": false,
    "im_min_itr": 100,
    "im_max_itr": 500,
    "im_var_tol": 0.0001,
    "itr_save": -1,
    "dnn_adaptive_peak_tol_max": 0.1,
    "dnn_adaptive_peak_tol_min": 1e-05,
    "dnn_adaptive_peak_tol_step": 0.1
}
________________________________________________________________

Imaging parameters:
  param_optimiser:
    algorithm: airi
    approx_meas_op: False
    ch_effective: 1
    ch_last: 2
    ch_partition: ()
    ch_start: 2
    data_file: /mnt/py-hyper-ri/data/3c353_sim_vla_meas_hs
    dist_backend: nccl
    dist_init_method: env://
    dnn_adaptive_peak: True
    dnn_adaptive_peak_tol_max: 0.1
    dnn_adaptive_peak_tol_min: 1e-05
    dnn_adaptive_peak_tol_step: 0.1
    file_prefix: AIRI_heuScale_1.0_
    flag_imaging: True
    heu_noise_scale: 1.0
    im_max_itr: 500
    im_min_itr: 100
    im_peak_est: None
    im_var_tol: 0.0001
    img_size: (512, 512)
    itr_save: 501
    precond_flag: False
    result_path: /mnt/py-hyper-ri/results/tutorials/airi_ch2
    run_id: []
    src_name: airi_ch2
    verbose: True
  param_measop:
    device: cuda
    dtype: torch.float32
    flag_data_weighting: True
    im_pixel_size: None
    invert_uvw_flag: False
    nufft_grid_size: (1024, 1024)
    nufft_kb_kernel_dim: 7
    nufft_mode: table
    nufft_package: finufft
    superresolution: 1.5
    weight_gridsize: 2.0
    weight_load: False
    weight_robustness: 0.0
    weight_type: briggs
  param_proxop:
    device: cuda
    dnn_apply_transform: True
    dnn_shelf_path: shelf_airi_oaid.csv
    dtype: torch.float32
    verbose: True
________________________________________________________________

INFO: loading sampling pattern from /mnt/py-hyper-ri/data/3c353_sim_vla_meas_hs
INFO: loading data from physical channel 2 to 2 with 1 effective channels. 
INFO: rank 0 loading physical channel 2 to 2, corresponding to effective channel 1 to 1.
INFO: no uvw flag found, all points are considered valid.
INFO: default pixelsize: 0.3314 arcsec, that is 1.500 x nominal resolution.
INFO: computing imaging weights...
INFO: weight_robustness 0.000
INFO: preconditioning weights will not be generated.
INFO: effective channel 1 loaded 1652157 uv points, frequency 1.698e+09 Hz.
INFO: data loading completed.

INFO: initialise AIRI optimiser...
INFO: use normalised dirty peak as estimated
INFO: channel 1 - 1, estimated image peak value [7.597]
INFO: channel 1 - 1, op norm [4.1177e+06], heuristic noise level [3.4846e-04]
INFO: channel 1 - 1, heuristic noise level after correction: [1.8422e-04], correction factor [5.2868e-01]
INFO: SHELF *** Channel 0: heu/peak 2.425e-05, using network: airi_oaid_dncnn_noise_2.0e-5_seed_0.onnx, peak range: [4.61, 9.21], scaling factor: 9.21
INFO: forward-backward step size: 4.8123e-07

*************************************************
********* STARTING ALGORITHM:    AIRI   *********
*************************************************

Iter 1: relative variation 1.000e+00
timings: gradient step 0.0274 sec, denoising step 1.38 sec, iteration 1.41 sec.
  Model image peak value: ch first 0.455, ch end 0.455, max relative variation = 9.401e-01

Iter 2: relative variation 1.226e+00
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.356, ch end 0.356, max relative variation = 2.169e-01

Iter 3: relative variation 4.932e-01
timings: gradient step 0.0270 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.470, ch end 0.470, max relative variation = 3.198e-01

Iter 4: relative variation 4.699e-01
timings: gradient step 0.0274 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.430, ch end 0.430, max relative variation = 8.432e-02
INFO: SHELF *** Channel 0: heu/peak 4.281e-04, using network: airi_oaid_dncnn_noise_3.2e-4_seed_0.onnx, peak range: [0.00, 0.576], scaling factor: 0.576

Iter 5: relative variation 2.776e-01
timings: gradient step 0.0249 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.472, ch end 0.472, max relative variation = 9.627e-02

Iter 6: relative variation 2.388e-01
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.451, ch end 0.451, max relative variation = 4.378e-02

Iter 7: relative variation 1.607e-01
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.470, ch end 0.470, max relative variation = 4.106e-02

Iter 8: relative variation 1.314e-01
timings: gradient step 0.0259 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 2.383e-02

Iter 9: relative variation 9.423e-02
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.947e-02

Iter 10: relative variation 7.524e-02
timings: gradient step 0.0245 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 1.355e-02

Iter 11: relative variation 5.592e-02
timings: gradient step 0.0250 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 9.423e-03

Iter 12: relative variation 4.420e-02
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 8.083e-03

Iter 13: relative variation 3.358e-02
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 7.525e-03

Iter 14: relative variation 2.643e-02
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 2.305e-03

Iter 15: relative variation 2.036e-02
timings: gradient step 0.0241 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 4.464e-03

Iter 16: relative variation 1.604e-02
timings: gradient step 0.0250 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.092e-03

Iter 17: relative variation 1.248e-02
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 2.641e-03

Iter 18: relative variation 9.854e-03
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 4.473e-04

Iter 19: relative variation 7.749e-03
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.669e-03

Iter 20: relative variation 6.154e-03
timings: gradient step 0.0280 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.885e-04

Iter 21: relative variation 4.906e-03
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.022e-03

Iter 22: relative variation 3.945e-03
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 4.644e-05

Iter 23: relative variation 3.174e-03
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 6.242e-04

Iter 24: relative variation 2.548e-03
timings: gradient step 0.0272 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 2.464e-05

Iter 25: relative variation 2.176e-03
timings: gradient step 0.0276 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 3.581e-04

Iter 26: relative variation 1.795e-03
timings: gradient step 0.0242 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 7.701e-06

Iter 27: relative variation 1.608e-03
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 2.725e-04

Iter 28: relative variation 1.399e-03
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.419e-05

Iter 29: relative variation 1.290e-03
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.150e-04

Iter 30: relative variation 1.126e-03
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.362e-05

Iter 31: relative variation 1.074e-03
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.781e-05

Iter 32: relative variation 1.055e-03
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 6.089e-05

Iter 33: relative variation 9.697e-04
timings: gradient step 0.0250 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 5.924e-05

Iter 34: relative variation 9.596e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 8.520e-05

Iter 35: relative variation 7.491e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 5.365e-05

Iter 36: relative variation 9.265e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 8.044e-05

Iter 37: relative variation 8.957e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 8.070e-05

Iter 38: relative variation 8.252e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.062e-04

Iter 39: relative variation 8.395e-04
timings: gradient step 0.0288 sec, denoising step 0.125 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 8.447e-05

Iter 40: relative variation 8.099e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 7.417e-05

Iter 41: relative variation 7.461e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.113e-04

Iter 42: relative variation 5.747e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 9.532e-05

Iter 43: relative variation 8.352e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.020e-04

Iter 44: relative variation 7.907e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 9.279e-05

Iter 45: relative variation 7.798e-04
timings: gradient step 0.0250 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.846e-04

Iter 46: relative variation 7.748e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.580e-04

Iter 47: relative variation 7.712e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.328e-04

Iter 48: relative variation 7.533e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.425e-04

Iter 49: relative variation 7.614e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.468, ch end 0.468, max relative variation = 1.660e-04

Iter 50: relative variation 7.287e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.689e-04

Iter 51: relative variation 7.511e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.719e-04

Iter 52: relative variation 7.638e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.157e-04

Iter 53: relative variation 6.888e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.597e-04

Iter 54: relative variation 4.585e-04
timings: gradient step 0.0271 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.702e-04

Iter 55: relative variation 7.528e-04
timings: gradient step 0.0256 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.890e-04

Iter 56: relative variation 6.947e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.497e-04

Iter 57: relative variation 7.266e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 8.787e-05

Iter 58: relative variation 7.305e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.574e-04

Iter 59: relative variation 6.851e-04
timings: gradient step 0.0246 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.226e-04

Iter 60: relative variation 6.331e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.574e-04

Iter 61: relative variation 7.500e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.223e-04

Iter 62: relative variation 7.127e-04
timings: gradient step 0.0275 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.555e-04

Iter 63: relative variation 6.678e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.471e-04

Iter 64: relative variation 6.894e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.467, ch end 0.467, max relative variation = 1.194e-04

Iter 65: relative variation 6.699e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 9.844e-05

Iter 66: relative variation 7.032e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.970e-04

Iter 67: relative variation 7.189e-04
timings: gradient step 0.0299 sec, denoising step 0.125 sec, iteration 0.155 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.016e-04

Iter 68: relative variation 6.608e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 9.516e-05

Iter 69: relative variation 6.322e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.891e-04

Iter 70: relative variation 6.589e-04
timings: gradient step 0.0272 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 9.237e-05

Iter 71: relative variation 6.832e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.058e-04

Iter 72: relative variation 6.452e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 8.644e-05

Iter 73: relative variation 6.566e-04
timings: gradient step 0.0250 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.737e-04

Iter 74: relative variation 6.674e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.262e-04

Iter 75: relative variation 6.484e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.691e-04

Iter 76: relative variation 6.692e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.386e-04

Iter 77: relative variation 6.489e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.621e-04

Iter 78: relative variation 6.425e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.858e-04

Iter 79: relative variation 6.443e-04
timings: gradient step 0.0276 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.018e-04

Iter 80: relative variation 3.772e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.466, ch end 0.466, max relative variation = 1.161e-04

Iter 81: relative variation 6.930e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.102e-04

Iter 82: relative variation 5.294e-04
timings: gradient step 0.0298 sec, denoising step 0.125 sec, iteration 0.155 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 9.732e-05

Iter 83: relative variation 6.607e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.662e-04

Iter 84: relative variation 6.685e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.232e-04

Iter 85: relative variation 6.464e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 7.596e-05

Iter 86: relative variation 3.807e-04
timings: gradient step 0.0283 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 9.237e-05

Iter 87: relative variation 6.235e-04
timings: gradient step 0.0247 sec, denoising step 0.124 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.274e-04

Iter 88: relative variation 6.650e-04
timings: gradient step 0.0270 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 8.771e-05

Iter 89: relative variation 6.348e-04
timings: gradient step 0.0244 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 9.823e-05

Iter 90: relative variation 5.724e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.011e-04

Iter 91: relative variation 6.886e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.400e-04

Iter 92: relative variation 3.859e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.501e-04

Iter 93: relative variation 6.289e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.046e-04

Iter 94: relative variation 6.646e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.850e-04

Iter 95: relative variation 5.445e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 9.984e-05

Iter 96: relative variation 6.665e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 9.094e-05

Iter 97: relative variation 6.459e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.658e-04

Iter 98: relative variation 6.637e-04
timings: gradient step 0.0270 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.465, ch end 0.465, max relative variation = 1.539e-04

Iter 99: relative variation 6.035e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 1.635e-04

Iter 100: relative variation 3.351e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 1.632e-04

Iter 101: relative variation 7.246e-04
timings: gradient step 0.0245 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 7.458e-05

Iter 102: relative variation 6.337e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 9.332e-05

Iter 103: relative variation 3.577e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 8.223e-05

Iter 104: relative variation 7.026e-04
timings: gradient step 0.0270 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 4.596e-05

Iter 105: relative variation 5.541e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 1.032e-04

Iter 106: relative variation 3.007e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 7.936e-05

Iter 107: relative variation 6.571e-04
timings: gradient step 0.0275 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 1.389e-04

Iter 108: relative variation 6.723e-04
timings: gradient step 0.0306 sec, denoising step 0.125 sec, iteration 0.156 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 6.846e-05

Iter 109: relative variation 6.669e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 4.181e-05

Iter 110: relative variation 5.634e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 9.897e-05

Iter 111: relative variation 6.673e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 1.149e-04

Iter 112: relative variation 6.603e-04
timings: gradient step 0.0275 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 1.356e-04

Iter 113: relative variation 6.172e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 6.444e-05

Iter 114: relative variation 6.330e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 1.562e-04

Iter 115: relative variation 6.245e-04
timings: gradient step 0.0239 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 1.163e-04

Iter 116: relative variation 6.344e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 5.090e-05

Iter 117: relative variation 6.415e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 8.754e-05

Iter 118: relative variation 6.534e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 7.726e-05

Iter 119: relative variation 5.901e-04
timings: gradient step 0.0246 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 5.413e-05

Iter 120: relative variation 6.597e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.464, ch end 0.464, max relative variation = 1.536e-04

Iter 121: relative variation 6.129e-04
timings: gradient step 0.0270 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 8.764e-05

Iter 122: relative variation 5.913e-04
timings: gradient step 0.0273 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 5.742e-05

Iter 123: relative variation 6.276e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 5.646e-05

Iter 124: relative variation 3.387e-04
timings: gradient step 0.0268 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 7.081e-05

Iter 125: relative variation 6.544e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 1.439e-04

Iter 126: relative variation 6.575e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 8.896e-05

Iter 127: relative variation 6.370e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 9.817e-05

Iter 128: relative variation 3.552e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 1.197e-04

Iter 129: relative variation 2.652e-04
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 1.150e-04

Iter 130: relative variation 6.956e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 1.413e-04

Iter 131: relative variation 6.945e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 5.284e-05

Iter 132: relative variation 5.782e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 1.304e-04

Iter 133: relative variation 6.348e-04
timings: gradient step 0.0291 sec, denoising step 0.125 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 7.815e-05

Iter 134: relative variation 6.696e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 5.176e-05

Iter 135: relative variation 5.692e-04
timings: gradient step 0.0268 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 1.479e-04

Iter 136: relative variation 6.459e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 1.097e-04

Iter 137: relative variation 5.896e-04
timings: gradient step 0.0240 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 7.464e-05

Iter 138: relative variation 5.839e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 1.458e-04

Iter 139: relative variation 5.406e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 7.124e-05

Iter 140: relative variation 6.293e-04
timings: gradient step 0.0298 sec, denoising step 0.125 sec, iteration 0.155 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 1.263e-04

Iter 141: relative variation 6.796e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 2.822e-05

Iter 142: relative variation 5.663e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.463, ch end 0.463, max relative variation = 8.092e-05

Iter 143: relative variation 5.912e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.376e-04

Iter 144: relative variation 6.247e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 3.473e-05

Iter 145: relative variation 6.631e-04
timings: gradient step 0.0249 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.456e-04

Iter 146: relative variation 6.339e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 4.763e-05

Iter 147: relative variation 6.333e-04
timings: gradient step 0.0268 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 7.303e-05

Iter 148: relative variation 6.017e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 4.693e-05

Iter 149: relative variation 3.216e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 4.184e-05

Iter 150: relative variation 6.968e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 5.293e-05

Iter 151: relative variation 6.381e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 8.961e-05

Iter 152: relative variation 6.246e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.299e-04

Iter 153: relative variation 6.356e-04
timings: gradient step 0.0250 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 7.293e-05

Iter 154: relative variation 6.557e-04
timings: gradient step 0.0306 sec, denoising step 0.125 sec, iteration 0.156 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 4.379e-05

Iter 155: relative variation 6.351e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 3.244e-05

Iter 156: relative variation 6.529e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.132e-04

Iter 157: relative variation 6.487e-04
timings: gradient step 0.0270 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.421e-04

Iter 158: relative variation 6.712e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 4.374e-05

Iter 159: relative variation 6.155e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.077e-04

Iter 160: relative variation 6.211e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.206e-04

Iter 161: relative variation 5.840e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.050e-04

Iter 162: relative variation 6.704e-04
timings: gradient step 0.0253 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 8.964e-05

Iter 163: relative variation 5.599e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.071e-04

Iter 164: relative variation 2.872e-04
timings: gradient step 0.0243 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.123e-04

Iter 165: relative variation 6.740e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 6.933e-05

Iter 166: relative variation 6.533e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.407e-05

Iter 167: relative variation 5.183e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 1.121e-04

Iter 168: relative variation 6.688e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 8.419e-05

Iter 169: relative variation 6.511e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.462, ch end 0.462, max relative variation = 6.192e-05

Iter 170: relative variation 6.390e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 4.191e-05

Iter 171: relative variation 3.319e-04
timings: gradient step 0.0247 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 3.067e-05

Iter 172: relative variation 6.897e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 7.646e-05

Iter 173: relative variation 5.903e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 8.473e-05

Iter 174: relative variation 6.790e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 4.153e-05

Iter 175: relative variation 6.610e-04
timings: gradient step 0.0273 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 9.960e-05

Iter 176: relative variation 3.508e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 1.114e-04

Iter 177: relative variation 6.585e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 2.707e-05

Iter 178: relative variation 3.404e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 2.907e-05

Iter 179: relative variation 6.380e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 5.796e-05

Iter 180: relative variation 3.316e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 5.124e-05

Iter 181: relative variation 6.620e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 8.723e-05

Iter 182: relative variation 6.575e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 8.491e-05

Iter 183: relative variation 6.503e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 5.817e-05

Iter 184: relative variation 6.142e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 1.318e-04

Iter 185: relative variation 5.528e-04
timings: gradient step 0.0247 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 5.533e-05

Iter 186: relative variation 6.786e-04
timings: gradient step 0.0244 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 3.840e-05

Iter 187: relative variation 6.536e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 7.363e-05

Iter 188: relative variation 6.067e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 4.635e-05

Iter 189: relative variation 6.694e-04
timings: gradient step 0.0272 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 9.698e-05

Iter 190: relative variation 3.533e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 8.471e-05

Iter 191: relative variation 6.338e-04
timings: gradient step 0.0266 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 7.100e-05

Iter 192: relative variation 6.710e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 3.783e-05

Iter 193: relative variation 6.270e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 2.393e-05

Iter 194: relative variation 6.419e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 1.104e-04

Iter 195: relative variation 6.039e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 7.024e-05

Iter 196: relative variation 6.580e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 5.046e-05

Iter 197: relative variation 6.036e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 9.755e-05

Iter 198: relative variation 6.443e-04
timings: gradient step 0.0253 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 1.831e-05

Iter 199: relative variation 6.169e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 7.408e-05

Iter 200: relative variation 6.378e-04
timings: gradient step 0.0291 sec, denoising step 0.125 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 1.013e-04

Iter 201: relative variation 6.327e-04
timings: gradient step 0.0267 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 1.812e-05

Iter 202: relative variation 5.780e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.461, ch end 0.461, max relative variation = 1.015e-04

Iter 203: relative variation 6.151e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 6.219e-05

Iter 204: relative variation 6.162e-04
timings: gradient step 0.0276 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 7.831e-06

Iter 205: relative variation 5.952e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 1.025e-04

Iter 206: relative variation 5.791e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 1.560e-05

Iter 207: relative variation 6.353e-04
timings: gradient step 0.0273 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 2.227e-05

Iter 208: relative variation 6.844e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 1.023e-04

Iter 209: relative variation 6.501e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 6.707e-05

Iter 210: relative variation 6.651e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 4.331e-05

Iter 211: relative variation 3.490e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 6.681e-05

Iter 212: relative variation 6.413e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 7.465e-05

Iter 213: relative variation 3.185e-04
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 5.297e-05

Iter 214: relative variation 2.267e-04
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 5.142e-05

Iter 215: relative variation 6.816e-04
timings: gradient step 0.0253 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 3.717e-05

Iter 216: relative variation 6.390e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 2.280e-05

Iter 217: relative variation 6.520e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 9.922e-05

Iter 218: relative variation 5.907e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 2.610e-05

Iter 219: relative variation 7.047e-04
timings: gradient step 0.0272 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 1.016e-04

Iter 220: relative variation 5.944e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 2.462e-05

Iter 221: relative variation 6.770e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 1.025e-04

Iter 222: relative variation 6.251e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 2.267e-05

Iter 223: relative variation 5.388e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 1.022e-04

Iter 224: relative variation 2.945e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 9.324e-05

Iter 225: relative variation 5.890e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 7.387e-06

Iter 226: relative variation 4.685e-04
timings: gradient step 0.0274 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 9.603e-05

Iter 227: relative variation 2.326e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 8.859e-05

Iter 228: relative variation 7.093e-04
timings: gradient step 0.0242 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 8.413e-05

Iter 229: relative variation 6.010e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 4.537e-07

Iter 230: relative variation 6.749e-04
timings: gradient step 0.0257 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 5.989e-05

Iter 231: relative variation 6.267e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 1.646e-05

Iter 232: relative variation 3.378e-04
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 1.335e-05

Iter 233: relative variation 6.644e-04
timings: gradient step 0.0274 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 9.276e-05

Iter 234: relative variation 6.352e-04
timings: gradient step 0.0256 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 9.990e-05

Iter 235: relative variation 6.643e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 2.477e-05

Iter 236: relative variation 6.493e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 8.882e-05

Iter 237: relative variation 3.318e-04
timings: gradient step 0.0242 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 8.909e-05

Iter 238: relative variation 6.621e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 8.067e-05

Iter 239: relative variation 6.642e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 1.524e-05

Iter 240: relative variation 6.554e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.460, ch end 0.460, max relative variation = 3.243e-06

Iter 241: relative variation 6.154e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 9.637e-05

Iter 242: relative variation 5.899e-04
timings: gradient step 0.0246 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.356e-05

Iter 243: relative variation 6.776e-04
timings: gradient step 0.0476 sec, denoising step 0.125 sec, iteration 0.173 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 2.744e-05

Iter 244: relative variation 6.217e-04
timings: gradient step 0.0271 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.025e-04

Iter 245: relative variation 3.144e-04
timings: gradient step 0.0249 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 9.458e-05

Iter 246: relative variation 6.611e-04
timings: gradient step 0.0249 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 5.910e-05

Iter 247: relative variation 6.122e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.252e-05

Iter 248: relative variation 3.187e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.304e-05

Iter 249: relative variation 2.279e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.933e-05

Iter 250: relative variation 6.690e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 6.832e-05

Iter 251: relative variation 6.504e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.094e-04

Iter 252: relative variation 6.353e-04
timings: gradient step 0.0286 sec, denoising step 0.125 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 8.501e-06

Iter 253: relative variation 6.613e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 3.011e-05

Iter 254: relative variation 6.125e-04
timings: gradient step 0.0240 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 7.151e-05

Iter 255: relative variation 3.145e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 7.775e-05

Iter 256: relative variation 6.419e-04
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 6.620e-06

Iter 257: relative variation 6.639e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.863e-05

Iter 258: relative variation 6.282e-04
timings: gradient step 0.0281 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 6.938e-05

Iter 259: relative variation 5.369e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.396e-05

Iter 260: relative variation 5.595e-04
timings: gradient step 0.0274 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 7.698e-05

Iter 261: relative variation 2.986e-04
timings: gradient step 0.0275 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 7.790e-05

Iter 262: relative variation 6.918e-04
timings: gradient step 0.0253 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 9.816e-05

Iter 263: relative variation 6.476e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 5.752e-05

Iter 264: relative variation 5.684e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 7.454e-05

Iter 265: relative variation 6.313e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 8.240e-05

Iter 266: relative variation 6.398e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 6.299e-06

Iter 267: relative variation 6.315e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.533e-05

Iter 268: relative variation 6.422e-04
timings: gradient step 0.0265 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 2.994e-05

Iter 269: relative variation 5.790e-04
timings: gradient step 0.0284 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 8.059e-05

Iter 270: relative variation 6.505e-04
timings: gradient step 0.0273 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 5.397e-05

Iter 271: relative variation 6.275e-04
timings: gradient step 0.0273 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 8.086e-05

Iter 272: relative variation 6.016e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.299e-07

Iter 273: relative variation 6.170e-04
timings: gradient step 0.0262 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 5.495e-05

Iter 274: relative variation 6.419e-04
timings: gradient step 0.0269 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 6.366e-05

Iter 275: relative variation 6.561e-04
timings: gradient step 0.0265 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 4.008e-05

Iter 276: relative variation 5.939e-04
timings: gradient step 0.0278 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.025e-04

Iter 277: relative variation 6.105e-04
timings: gradient step 0.0275 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 7.732e-05

Iter 278: relative variation 6.182e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.456e-05

Iter 279: relative variation 6.569e-04
timings: gradient step 0.0260 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 7.083e-05

Iter 280: relative variation 6.316e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 3.314e-06

Iter 281: relative variation 6.390e-04
timings: gradient step 0.0267 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 3.964e-06

Iter 282: relative variation 6.150e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 5.478e-05

Iter 283: relative variation 6.101e-04
timings: gradient step 0.0281 sec, denoising step 0.124 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 6.635e-05

Iter 284: relative variation 6.222e-04
timings: gradient step 0.0285 sec, denoising step 0.125 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 7.149e-07

Iter 285: relative variation 3.181e-04
timings: gradient step 0.0253 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.690e-06

Iter 286: relative variation 6.468e-04
timings: gradient step 0.0253 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 3.185e-06

Iter 287: relative variation 5.088e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 1.495e-06

Iter 288: relative variation 6.906e-04
timings: gradient step 0.0242 sec, denoising step 0.124 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 2.775e-05

Iter 289: relative variation 6.253e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.459, ch end 0.459, max relative variation = 7.325e-05

Iter 290: relative variation 6.507e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 4.862e-05

Iter 291: relative variation 5.975e-04
timings: gradient step 0.0243 sec, denoising step 0.124 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 1.729e-05

Iter 292: relative variation 6.084e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 7.540e-06

Iter 293: relative variation 6.474e-04
timings: gradient step 0.0238 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 9.692e-05

Iter 294: relative variation 5.941e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 1.105e-06

Iter 295: relative variation 6.254e-04
timings: gradient step 0.0246 sec, denoising step 0.124 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 9.400e-05

Iter 296: relative variation 6.683e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 8.653e-05

Iter 297: relative variation 6.706e-04
timings: gradient step 0.0239 sec, denoising step 0.124 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 6.970e-05

Iter 298: relative variation 5.786e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 7.016e-05

Iter 299: relative variation 2.910e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 7.316e-05

Iter 300: relative variation 6.248e-04
timings: gradient step 0.0248 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 6.399e-05

Iter 301: relative variation 6.491e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 4.403e-05

Iter 302: relative variation 3.472e-04
timings: gradient step 0.0255 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 2.296e-05

Iter 303: relative variation 5.972e-04
timings: gradient step 0.0268 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 4.904e-05

Iter 304: relative variation 6.675e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 8.118e-05

Iter 305: relative variation 6.588e-04
timings: gradient step 0.0270 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 1.574e-05

Iter 306: relative variation 6.173e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 7.838e-05

Iter 307: relative variation 6.553e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 4.059e-05

Iter 308: relative variation 5.774e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 1.060e-05

Iter 309: relative variation 6.306e-04
timings: gradient step 0.0275 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 9.427e-05

Iter 310: relative variation 5.632e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 9.109e-06

Iter 311: relative variation 6.963e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 1.536e-05

Iter 312: relative variation 6.046e-04
timings: gradient step 0.0275 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 4.470e-05

Iter 313: relative variation 6.398e-04
timings: gradient step 0.0244 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 9.123e-05

Iter 314: relative variation 6.197e-04
timings: gradient step 0.0241 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 8.883e-05

Iter 315: relative variation 5.835e-04
timings: gradient step 0.0505 sec, denoising step 0.124 sec, iteration 0.175 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 4.263e-05

Iter 316: relative variation 6.680e-04
timings: gradient step 0.0275 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 4.491e-06

Iter 317: relative variation 3.503e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 5.597e-06

Iter 318: relative variation 5.807e-04
timings: gradient step 0.0267 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 9.372e-05

Iter 319: relative variation 6.708e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 5.773e-05

Iter 320: relative variation 3.523e-04
timings: gradient step 0.0256 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 5.429e-05

Iter 321: relative variation 6.316e-04
timings: gradient step 0.0268 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 2.415e-05

Iter 322: relative variation 6.546e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 1.061e-05

Iter 323: relative variation 6.101e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 6.197e-05

Iter 324: relative variation 5.403e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 5.599e-06

Iter 325: relative variation 6.525e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 5.423e-05

Iter 326: relative variation 5.801e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 6.901e-05

Iter 327: relative variation 5.595e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 5.391e-05

Iter 328: relative variation 6.576e-04
timings: gradient step 0.0273 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 4.174e-05

Iter 329: relative variation 6.354e-04
timings: gradient step 0.0292 sec, denoising step 0.124 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 3.288e-05

Iter 330: relative variation 5.924e-04
timings: gradient step 0.0256 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 6.668e-05

Iter 331: relative variation 6.604e-04
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 8.674e-05

Iter 332: relative variation 6.177e-04
timings: gradient step 0.0252 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 3.041e-05

Iter 333: relative variation 3.247e-04
timings: gradient step 0.0264 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 3.921e-05

Iter 334: relative variation 6.195e-04
timings: gradient step 0.0250 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 7.223e-05

Iter 335: relative variation 3.093e-04
timings: gradient step 0.0267 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 5.732e-05

Iter 336: relative variation 5.888e-04
timings: gradient step 0.0267 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.458, ch end 0.458, max relative variation = 3.068e-05

Iter 337: relative variation 2.907e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 3.798e-05

Iter 338: relative variation 2.078e-04
timings: gradient step 0.0273 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 4.267e-05

Iter 339: relative variation 6.661e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 9.896e-05

Iter 340: relative variation 6.965e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 8.274e-06

Iter 341: relative variation 6.567e-04
timings: gradient step 0.0282 sec, denoising step 0.124 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 8.796e-06

Iter 342: relative variation 6.393e-04
timings: gradient step 0.0285 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 6.352e-05

Iter 343: relative variation 6.437e-04
timings: gradient step 0.0264 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 6.496e-05

Iter 344: relative variation 6.157e-04
timings: gradient step 0.0272 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 7.891e-05

Iter 345: relative variation 6.300e-04
timings: gradient step 0.0262 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 3.767e-05

Iter 346: relative variation 5.430e-04
timings: gradient step 0.0294 sec, denoising step 0.125 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 5.930e-05

Iter 347: relative variation 6.145e-04
timings: gradient step 0.0274 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.043e-05

Iter 348: relative variation 3.310e-04
timings: gradient step 0.0260 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.258e-05

Iter 349: relative variation 6.533e-04
timings: gradient step 0.0279 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 5.742e-05

Iter 350: relative variation 6.710e-04
timings: gradient step 0.0266 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 2.138e-05

Iter 351: relative variation 6.236e-04
timings: gradient step 0.0276 sec, denoising step 0.124 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 2.998e-05

Iter 352: relative variation 6.476e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.851e-05

Iter 353: relative variation 6.022e-04
timings: gradient step 0.0280 sec, denoising step 0.124 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.884e-05

Iter 354: relative variation 6.099e-04
timings: gradient step 0.0271 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 4.947e-05

Iter 355: relative variation 6.252e-04
timings: gradient step 0.0270 sec, denoising step 0.124 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 7.522e-05

Iter 356: relative variation 6.444e-04
timings: gradient step 0.0274 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 8.409e-06

Iter 357: relative variation 6.118e-04
timings: gradient step 0.0274 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.995e-05

Iter 358: relative variation 3.220e-04
timings: gradient step 0.0269 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 4.472e-05

Iter 359: relative variation 6.883e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 7.686e-05

Iter 360: relative variation 6.092e-04
timings: gradient step 0.0278 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 8.723e-05

Iter 361: relative variation 5.786e-04
timings: gradient step 0.0270 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 7.224e-05

Iter 362: relative variation 6.246e-04
timings: gradient step 0.0253 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 2.608e-07

Iter 363: relative variation 6.053e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 3.130e-05

Iter 364: relative variation 6.292e-04
timings: gradient step 0.0311 sec, denoising step 0.124 sec, iteration 0.156 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 5.608e-06

Iter 365: relative variation 3.342e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 6.781e-06

Iter 366: relative variation 6.447e-04
timings: gradient step 0.0364 sec, denoising step 0.124 sec, iteration 0.161 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 6.312e-05

Iter 367: relative variation 6.322e-04
timings: gradient step 0.0355 sec, denoising step 0.125 sec, iteration 0.160 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 2.778e-05

Iter 368: relative variation 6.255e-04
timings: gradient step 0.0389 sec, denoising step 0.125 sec, iteration 0.164 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 2.615e-05

Iter 369: relative variation 6.185e-04
timings: gradient step 0.0280 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 6.026e-05

Iter 370: relative variation 6.420e-04
timings: gradient step 0.0274 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 8.739e-05

Iter 371: relative variation 3.376e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 8.003e-05

Iter 372: relative variation 6.248e-04
timings: gradient step 0.0283 sec, denoising step 0.125 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 6.405e-05

Iter 373: relative variation 3.128e-04
timings: gradient step 0.0309 sec, denoising step 0.125 sec, iteration 0.156 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 5.871e-05

Iter 374: relative variation 6.666e-04
timings: gradient step 0.0277 sec, denoising step 0.124 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 5.030e-05

Iter 375: relative variation 5.015e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 6.041e-05

Iter 376: relative variation 6.417e-04
timings: gradient step 0.0339 sec, denoising step 0.124 sec, iteration 0.159 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 4.828e-06

Iter 377: relative variation 6.648e-04
timings: gradient step 0.0275 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.533e-05

Iter 378: relative variation 3.542e-04
timings: gradient step 0.0276 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 8.351e-06

Iter 379: relative variation 6.280e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 5.480e-06

Iter 380: relative variation 5.423e-04
timings: gradient step 0.0293 sec, denoising step 0.125 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.775e-05

Iter 381: relative variation 6.786e-04
timings: gradient step 0.0297 sec, denoising step 0.125 sec, iteration 0.155 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 7.007e-05

Iter 382: relative variation 5.865e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.729e-05

Iter 383: relative variation 6.713e-04
timings: gradient step 0.0261 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 5.598e-05

Iter 384: relative variation 3.622e-04
timings: gradient step 0.0270 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 3.739e-05

Iter 385: relative variation 6.632e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 2.108e-05

Iter 386: relative variation 6.274e-04
timings: gradient step 0.0270 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 8.678e-06

Iter 387: relative variation 6.813e-04
timings: gradient step 0.0249 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 6.825e-05

Iter 388: relative variation 6.239e-04
timings: gradient step 0.0240 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.958e-06

Iter 389: relative variation 5.939e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.259e-05

Iter 390: relative variation 6.180e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 6.897e-05

Iter 391: relative variation 6.418e-04
timings: gradient step 0.0260 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 7.413e-05

Iter 392: relative variation 6.534e-04
timings: gradient step 0.0271 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 4.614e-05

Iter 393: relative variation 5.934e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 6.788e-05

Iter 394: relative variation 3.087e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 7.114e-05

Iter 395: relative variation 6.925e-04
timings: gradient step 0.0264 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 2.879e-05

Iter 396: relative variation 5.213e-04
timings: gradient step 0.0256 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 7.781e-05

Iter 397: relative variation 2.556e-04
timings: gradient step 0.0278 sec, denoising step 0.124 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 7.997e-05

Iter 398: relative variation 6.236e-04
timings: gradient step 0.0271 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.743e-05

Iter 399: relative variation 3.306e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.084e-05

Iter 400: relative variation 2.343e-04
timings: gradient step 0.0259 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 1.169e-05

Iter 401: relative variation 7.104e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 2.566e-05

Iter 402: relative variation 3.703e-04
timings: gradient step 0.0252 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.457, ch end 0.457, max relative variation = 3.068e-05

Iter 403: relative variation 6.052e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 8.324e-05

Iter 404: relative variation 6.598e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.801e-05

Iter 405: relative variation 6.395e-04
timings: gradient step 0.0256 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.867e-05

Iter 406: relative variation 5.550e-04
timings: gradient step 0.0262 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.533e-05

Iter 407: relative variation 6.653e-04
timings: gradient step 0.0257 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.369e-05

Iter 408: relative variation 6.408e-04
timings: gradient step 0.0264 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.975e-05

Iter 409: relative variation 5.604e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.318e-05

Iter 410: relative variation 6.722e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.223e-06

Iter 411: relative variation 6.679e-04
timings: gradient step 0.0264 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.402e-05

Iter 412: relative variation 5.894e-04
timings: gradient step 0.0283 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.244e-06

Iter 413: relative variation 6.701e-04
timings: gradient step 0.0264 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.061e-05

Iter 414: relative variation 5.663e-04
timings: gradient step 0.0342 sec, denoising step 0.125 sec, iteration 0.159 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 9.794e-07

Iter 415: relative variation 6.892e-04
timings: gradient step 0.0304 sec, denoising step 0.124 sec, iteration 0.155 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 6.653e-05

Iter 416: relative variation 6.213e-04
timings: gradient step 0.0279 sec, denoising step 0.125 sec, iteration 0.153 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.651e-05

Iter 417: relative variation 6.481e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.174e-05

Iter 418: relative variation 6.833e-04
timings: gradient step 0.0269 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 7.346e-05

Iter 419: relative variation 6.025e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.129e-05

Iter 420: relative variation 6.709e-04
timings: gradient step 0.0253 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.244e-05

Iter 421: relative variation 6.273e-04
timings: gradient step 0.0266 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.356e-05

Iter 422: relative variation 6.296e-04
timings: gradient step 0.0257 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 7.398e-05

Iter 423: relative variation 5.636e-04
timings: gradient step 0.0252 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.926e-05

Iter 424: relative variation 5.845e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 7.856e-05

Iter 425: relative variation 3.080e-04
timings: gradient step 0.0270 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 6.786e-05

Iter 426: relative variation 6.497e-04
timings: gradient step 0.0257 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 7.446e-06

Iter 427: relative variation 4.759e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.806e-05

Iter 428: relative variation 5.637e-04
timings: gradient step 0.0263 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.879e-07

Iter 429: relative variation 6.565e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.887e-05

Iter 430: relative variation 6.209e-04
timings: gradient step 0.0260 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.873e-05

Iter 431: relative variation 3.255e-04
timings: gradient step 0.0258 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.248e-05

Iter 432: relative variation 7.003e-04
timings: gradient step 0.0255 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.676e-05

Iter 433: relative variation 6.441e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.404e-05

Iter 434: relative variation 6.384e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.391e-05

Iter 435: relative variation 6.400e-04
timings: gradient step 0.0263 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.867e-05

Iter 436: relative variation 5.960e-04
timings: gradient step 0.0258 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.880e-05

Iter 437: relative variation 6.311e-04
timings: gradient step 0.0276 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 7.361e-05

Iter 438: relative variation 6.609e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.855e-05

Iter 439: relative variation 6.188e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.997e-05

Iter 440: relative variation 6.347e-04
timings: gradient step 0.0261 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.574e-05

Iter 441: relative variation 6.018e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 8.643e-05

Iter 442: relative variation 6.333e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.371e-05

Iter 443: relative variation 3.218e-04
timings: gradient step 0.0275 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.782e-05

Iter 444: relative variation 6.796e-04
timings: gradient step 0.0265 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.666e-05

Iter 445: relative variation 6.123e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.770e-05

Iter 446: relative variation 6.620e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.855e-06

Iter 447: relative variation 5.839e-04
timings: gradient step 0.0300 sec, denoising step 0.125 sec, iteration 0.155 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.706e-05

Iter 448: relative variation 6.556e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.843e-05

Iter 449: relative variation 6.576e-04
timings: gradient step 0.0270 sec, denoising step 0.124 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.823e-05

Iter 450: relative variation 6.062e-04
timings: gradient step 0.0254 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.646e-05

Iter 451: relative variation 6.147e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.039e-05

Iter 452: relative variation 5.216e-04
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.176e-05

Iter 453: relative variation 6.413e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 6.169e-05

Iter 454: relative variation 6.040e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 6.405e-06

Iter 455: relative variation 6.511e-04
timings: gradient step 0.0250 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.255e-05

Iter 456: relative variation 6.679e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 7.509e-05

Iter 457: relative variation 6.084e-04
timings: gradient step 0.0255 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 7.909e-06

Iter 458: relative variation 3.262e-04
timings: gradient step 0.0267 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.137e-06

Iter 459: relative variation 6.764e-04
timings: gradient step 0.0264 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.484e-05

Iter 460: relative variation 6.001e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 6.961e-05

Iter 461: relative variation 5.730e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.686e-05

Iter 462: relative variation 5.763e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 7.706e-05

Iter 463: relative variation 7.072e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.053e-06

Iter 464: relative variation 6.622e-04
timings: gradient step 0.0267 sec, denoising step 0.124 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.308e-05

Iter 465: relative variation 5.800e-04
timings: gradient step 0.0269 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.602e-05

Iter 466: relative variation 6.199e-04
timings: gradient step 0.0266 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.465e-06

Iter 467: relative variation 6.348e-04
timings: gradient step 0.0264 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.419e-05

Iter 468: relative variation 6.094e-04
timings: gradient step 0.0273 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.413e-05

Iter 469: relative variation 5.528e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.680e-05

Iter 470: relative variation 6.397e-04
timings: gradient step 0.0242 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 8.695e-06

Iter 471: relative variation 6.317e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.138e-05

Iter 472: relative variation 6.134e-04
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 6.080e-05

Iter 473: relative variation 6.277e-04
timings: gradient step 0.0253 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.584e-05

Iter 474: relative variation 6.507e-04
timings: gradient step 0.0305 sec, denoising step 0.125 sec, iteration 0.155 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.897e-05

Iter 475: relative variation 5.762e-04
timings: gradient step 0.0244 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.589e-05

Iter 476: relative variation 6.589e-04
timings: gradient step 0.0236 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.419e-06

Iter 477: relative variation 6.438e-04
timings: gradient step 0.0252 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.825e-05

Iter 478: relative variation 5.787e-04
timings: gradient step 0.0261 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.962e-06

Iter 479: relative variation 6.328e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.308e-05

Iter 480: relative variation 6.184e-04
timings: gradient step 0.0294 sec, denoising step 0.125 sec, iteration 0.154 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.956e-05

Iter 481: relative variation 6.380e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.465e-05

Iter 482: relative variation 3.334e-04
timings: gradient step 0.0260 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.112e-06

Iter 483: relative variation 6.597e-04
timings: gradient step 0.0248 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.302e-05

Iter 484: relative variation 6.155e-04
timings: gradient step 0.0263 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 8.311e-05

Iter 485: relative variation 3.263e-04
timings: gradient step 0.0244 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 6.396e-05

Iter 486: relative variation 6.758e-04
timings: gradient step 0.0239 sec, denoising step 0.125 sec, iteration 0.149 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.256e-05

Iter 487: relative variation 6.397e-04
timings: gradient step 0.0248 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 5.886e-05

Iter 488: relative variation 6.260e-04
timings: gradient step 0.0258 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.152e-05

Iter 489: relative variation 6.573e-04
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.487e-05

Iter 490: relative variation 6.500e-04
timings: gradient step 0.0268 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 2.813e-05

Iter 491: relative variation 5.873e-04
timings: gradient step 0.0276 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.192e-05

Iter 492: relative variation 6.601e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.794e-06

Iter 493: relative variation 6.715e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 7.463e-05

Iter 494: relative variation 6.005e-04
timings: gradient step 0.0251 sec, denoising step 0.125 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 1.753e-05

Iter 495: relative variation 6.185e-04
timings: gradient step 0.0253 sec, denoising step 0.124 sec, iteration 0.150 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 6.411e-06

Iter 496: relative variation 5.775e-04
timings: gradient step 0.0259 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.671e-05

Iter 497: relative variation 5.323e-04
timings: gradient step 0.0256 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.140e-06

Iter 498: relative variation 2.772e-04
timings: gradient step 0.0265 sec, denoising step 0.125 sec, iteration 0.152 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.598e-06

Iter 499: relative variation 6.931e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 3.107e-05

Iter 500: relative variation 5.205e-04
timings: gradient step 0.0262 sec, denoising step 0.125 sec, iteration 0.151 sec.
  Model image peak value: ch first 0.456, ch end 0.456, max relative variation = 4.579e-06

**************************************
********** END OF ALGORITHM **********
**************************************

Imaging finished in 77.40 sec, total number of iterations 500
INFO: rank 0: The maximum GPU memory allocated 0.0704 GB.
CompletedProcess(args=['hyri-imaging', '--config', '/mnt/py-hyper-ri/config/tutorial.json', '--algorithm', 'airi', '--data_file', '/mnt/py-hyper-ri/data/3c353_sim_vla_meas_hs', '--result_path', '/mnt/py-hyper-ri/results/tutorials', '--src_name', 'airi_ch2', '--dnn_shelf_path', 'shelf_airi_oaid.csv'], returncode=0)

Load the outputs#

The run writes the dirty image and PSF, followed by the final AIRI model and residual dirty image. The AIRI output prefix records the heuristic noise scale.

The expected FITS outputs are:

  • dirty.fits: dirty image formed with the adjoint measurement operator.

  • psf.fits: point spread function.

  • AIRI_heuScale_1.0_model_image.fits: final reconstructed image.

  • AIRI_heuScale_1.0_residual_dirty_image.fits: residual dirty image after reconstruction.

PREFIX = "AIRI_heuScale_1.0_"
output_files = {
    "psf": RESULT_DIR / "psf.fits",
    "dirty": RESULT_DIR / "dirty.fits",
    "model": RESULT_DIR / f"{PREFIX}model_image.fits",
    "residual": RESULT_DIR / f"{PREFIX}residual_dirty_image.fits",
}

groundtruth_path = DATA_DIR / "groundtruth.fits"
missing = [path for path in output_files.values() if not path.is_file()]
if not groundtruth_path.is_file():
    missing.append(groundtruth_path)
if missing:
    raise FileNotFoundError(
        "Missing output files: " + ", ".join(str(path) for path in missing)
    )


def read_image(path):
    return np.squeeze(fits.getdata(path).astype(float))


def read_groundtruth_channel_2(path):
    cube = np.squeeze(np.asarray(fits.getdata(path), dtype=float))
    if cube.ndim != 3 or cube.shape[0] < 2:
        raise ValueError(
            "Expected groundtruth.fits to be an image cube with at least two "
            f"channels, got shape {cube.shape}."
        )
    return cube[1]


images = {name: read_image(path) for name, path in output_files.items()}
images["groundtruth"] = read_groundtruth_channel_2(groundtruth_path)
for name, image in images.items():
    print(
        f"{name:8s} {image.shape} "
        f"min={np.nanmin(image):.3e} max={np.nanmax(image):.3e}"
    )
psf      (512, 512) min=-2.188e+03 max=1.244e+05
dirty    (512, 512) min=-2.868e+04 max=9.449e+05
model    (512, 512) min=0.000e+00 max=4.556e-01
residual (512, 512) min=-8.259e+02 max=6.999e+02
groundtruth (512, 512) min=0.000e+00 max=4.503e-01

Visualise the PSF and dirty image#

The PSF summarises the response of the measurement operator to a point source and is defined as \(\boldsymbol{h} = \kappa\operatorname{Re}\{\boldsymbol{\Phi}^\dagger\boldsymbol{\Phi}\boldsymbol{\delta}\}\), where \(\boldsymbol{\delta}\) is a Dirac image and \(\kappa\) normalises the PSF peak to 1. The dirty image, or normalised back-projected data, is defined as \(\boldsymbol{x}_d = \kappa\operatorname{Re}\{\boldsymbol{\Phi}^\dagger\boldsymbol{y}\}\). Both images are displayed in linear scale.

fig, axes = plt.subplots(1, 2, figsize=(10, 4), constrained_layout=True)

psf_artist = axes[0].imshow(images["psf"], origin="lower", cmap="twilight_shifted")
axes[0].set_title("Point spread function (linear scale)")
axes[0].set_xticks([])
axes[0].set_yticks([])
fig.colorbar(psf_artist, ax=axes[0], fraction=0.046, pad=0.04)

dirty_artist = axes[1].imshow(
    images["dirty"],
    origin="lower",
    cmap="twilight_shifted",
)
axes[1].set_title("Dirty image (linear scale)")
axes[1].set_xticks([])
axes[1].set_yticks([])
fig.colorbar(dirty_artist, ax=axes[1], fraction=0.046, pad=0.04)

plt.show()
../_images/eaf3e9c780c8ec51efefca883a2e235742a68badeee45d81153ba1cc3ff40224.png

Visualise the reconstruction#

The reconstructed image is displayed in logarithmic scale using the mapping from the archived AIRI tutorial,

\[ \operatorname{rlog}(\boldsymbol{x}) = x_{\max} \log_a\left(\frac{a}{x_{\max}}\boldsymbol{x} + 1\right). \]

The ground truth image is displayed with the same logarithmic mapping as the reconstructed image. The residual dirty image is displayed in linear scale and is defined as \(\tilde{\boldsymbol{r}}=\operatorname{Re}\{\boldsymbol{\Phi}^\dagger(\boldsymbol{y}-\boldsymbol{\Phi}\tilde{\boldsymbol{x}})\}\).

def rlog(x, a, x_max=1.0):
    return x_max * np.log10(a * x / x_max + 1.0) / np.log10(a)


dynamic_range = 1e4

fig, axes = plt.subplots(1, 3, figsize=(13, 4), constrained_layout=True)

groundtruth_artist = axes[0].imshow(
    rlog(np.clip(images["groundtruth"], 0.0, None), dynamic_range),
    origin="lower",
    cmap="magma",
)
axes[0].set_title("Ground truth image (log scale)")
axes[0].set_xticks([])
axes[0].set_yticks([])
fig.colorbar(groundtruth_artist, ax=axes[0], fraction=0.046, pad=0.04)

model_log = rlog(np.clip(images["model"], 0.0, None), dynamic_range)
model_artist = axes[1].imshow(
    model_log,
    origin="lower",
    cmap="magma",
)
axes[1].set_title("AIRI reconstructed image (log scale)")
axes[1].set_xticks([])
axes[1].set_yticks([])
fig.colorbar(model_artist, ax=axes[1], fraction=0.046, pad=0.04)

residual_limit = np.nanpercentile(np.abs(images["residual"]), 99.5)
residual_artist = axes[2].imshow(
    images["residual"],
    origin="lower",
    cmap="twilight_shifted",
    vmin=-residual_limit,
    vmax=residual_limit,
)
axes[2].set_title("Residual dirty image (linear scale)")
axes[2].set_xticks([])
axes[2].set_yticks([])
fig.colorbar(residual_artist, ax=axes[2], fraction=0.046, pad=0.04)

plt.show()
../_images/64abb1f4fecb5182d2055a97d59350fbca28ea506a733f5759c72c029d7488ef.png

Calculate reconstruction metrics#

The example groundtruth.fits file is an image cube with two channels. Since this tutorial reconstructs channel 2, the metrics below compare the AIRI model against the second ground-truth slice.

We use the SNR and logSNR metrics from the archived AIRI tutorial:

\[ \operatorname{SNR}(\bar{\boldsymbol{x}}, \tilde{\boldsymbol{x}}) = 20\log_{10}\left(\frac{\|\bar{\boldsymbol{x}}\|_2}{\|\bar{\boldsymbol{x}} - \tilde{\boldsymbol{x}}\|_2}\right), \]
\[ \operatorname{logSNR}(\bar{\boldsymbol{x}}, \tilde{\boldsymbol{x}}) = \operatorname{SNR}(\operatorname{rlog}(\bar{\boldsymbol{x}}), \operatorname{rlog}(\tilde{\boldsymbol{x}})). \]
def snr_rec(im_rec, im_true):
    numerator = np.linalg.norm(im_true.ravel())
    denominator = np.linalg.norm(im_true.ravel() - im_rec.ravel())
    return 20 * np.log10(numerator / denominator)


img_gdth = images["groundtruth"]
img_model = images["model"]

airi_snr = snr_rec(img_model, img_gdth)
airi_logsnr = snr_rec(
    rlog(np.clip(img_model, 0.0, None), dynamic_range),
    rlog(np.clip(img_gdth, 0.0, None), dynamic_range),
)
print(
    f"Reconstruction metrics: SNR {airi_snr:.3f} dB; "
    f"logSNR {airi_logsnr:.3f} dB"
)
Reconstruction metrics: SNR 32.306 dB; logSNR 26.588 dB

References#