Commit 543b3036 authored by Gaetano Scandariato's avatar Gaetano Scandariato
Browse files

reporting restructured to be AI friendly

parent 3a9af7ac
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for PyAETNA/planet_phys.py: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2038,7 +2038,7 @@ def add_block_border(fig, axes, indices, color, lw=2):

def _render_corner_groups(pdf, corner_groups, plModel, num_chains, log_func, derived_names=None):
    """Render each corner-plot group to *pdf*."""
    from .reports import plot_corner
    from .reporting import plot_corner
    from matplotlib.lines import Line2D
    
    if derived_names is None:
@@ -2170,7 +2170,7 @@ def generate_physics_report(pickle_path, output_pdf, physics_config, log_file=No
    log_file : str, optional
        Path to the main log file (shared with sampler and reports steps).
    """
    from .reports import (
    from .reporting import (
        load_numpyro_results, _get_logger, set_log_file,
        find_map_parameters, compute_mcmc_diagnostics,
    )
+2 −2
Changes for PyAETNA/reporting/__init__.py: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ from .diagnostics import (
    print_mcmc_summary_table,
    compute_goodness_of_fit,
)
from .gp import (
from .gp_plotting import (
    _get_gp_correlation_length,
    _build_lc_train_grid,
    _build_visit_time_grid,
@@ -43,7 +43,7 @@ from .corner_plot import (
)
from .plot_models import plot_models
from .model_components import compute_model_components, write_model_components
from .plot_model_helpers import (
from .model_math import (
    _compute_planet_model_for_plotting,
    _apply_scoped_values,
)
+2 −2
Changes for PyAETNA/reporting/confidence_bands.py: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -15,8 +15,8 @@ import time as _timer

from PyAETNA.model_utils import build_partial_for_plot, build_composite_for_plot
from .model_components import compute_model_components
from .plot_model_helpers import _compute_nontime_trend
from .gp import _precompute_gp_grid_context, _gp_predict_on_grid
from .model_math import _compute_nontime_trend
from .gp_plotting import _precompute_gp_grid_context, _gp_predict_on_grid


# ──────────────────────────────────────────────────────────────────────────────
+169 −466

File changed and moved.

Preview size limit exceeded, changes collapsed.

+486 −60

File changed.

Preview size limit exceeded, changes collapsed.

Loading