report_completo: genera .tex e PDF professionale (cover, header/footer, paginazione)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
davideandClaude Sonnet 4.6 committed 2026-05-14 10:20:38 +02:00
1 parent 777b3de338
commit b4f8c67d51
2 files changed
+454 -281

No files matched your search

+130 -158
View File
@@ -1,177 +1,149 @@
\documentclass{article}%
\usepackage[T1]{fontenc}%
\usepackage[utf8]{inputenc}%
\usepackage{lmodern}%
\usepackage{textcomp}%
\usepackage{lastpage}%
\usepackage{geometry}%
\geometry{margin=2.5cm}%
\usepackage{booktabs}%
\usepackage{graphicx}%
\usepackage{amsmath}%
\usepackage{float}%
\usepackage{caption}%
%
\title{Report Analisi Termica Forno}%
\author{Analisi IR {-}{-} Cevolani}%
\date{\today}%
%
\begin{document}%
\normalsize%
\maketitle%
\section{Modello di fitting}%
\label{sec:Modellodifitting}%
Ogni intervallo è interpolato con il modello di raffreddamento di Newton:%
\[%
T(t) = T_\infty + A \cdot e^{-(t - t_0)/\tau}%
\]%
dove $T_\infty = 22.99\,^\circ\mathrm{C}$ è la temperatura ambiente media ponderata. La regressione non lineare usa il metodo \textit{Trust Region Reflective} (TRF) di \texttt{scipy.optimize.curve\_fit}.
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[margin=2.5cm]{geometry}
\usepackage{amsmath,amssymb}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{float}
\usepackage{caption}
\usepackage[table]{xcolor}
\usepackage{hyperref}
\definecolor{hdrblue}{HTML}{1a3a5c}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\rhead{\textcolor{hdrblue}{\small Analisi Termica Forno}}
\lhead{\textcolor{hdrblue}{\small Cevolani}}
\rfoot{\thepage}
\title{\textbf{Report Analisi Termica Forno}}
\author{Analisi IR -- Cevolani}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
\newpage
%
\section{Induttore 1}%
\label{sec:Induttore1}%
\subsection{Intervallo di campionamento}%
\label{subsec:Intervallodicampionamento}%
\begin{tabular}{|l|l|}%
\hline%
\textbf{Parametro}&\textbf{Valore}\\%
\hline%
Inizio&110.81 s\\%
Fine&111.56 s\\%
Numero di punti&5\\%
\hline%
\section{Modello di fitting}
Ogni intervallo è interpolato con il modello di raffreddamento di Newton:
\begin{equation}
T(t) = T_\infty + A \cdot e^{-(t-t_0)/\tau}
\end{equation}
dove $T_\infty = 22.99\,^\circ\mathrm{C}$ è la temperatura ambiente media ponderata.
La regressione non lineare usa il metodo \textit{Trust Region Reflective} (TRF)
di \texttt{scipy.optimize.curve\_fit}.
\section{Report Induttore 1}
\subsection{Intervallo di campionamento}
\begin{tabular}{ll}
\toprule
\textbf{Parametro} & \textbf{Valore} \\
\midrule
Inizio & $110.81$ s \\
Fine & $111.56$ s \\
Numero di punti & 5 \\
\bottomrule
\end{tabular}
%
\subsection{Equazione trovata}%
\label{subsec:Equazionetrovata}%
\[%
T(t) = 22.99 + 87.3140 \cdot e^{-(t - 110.81) / 15.7231}%
\]%
\vspace{4pt}%
\begin{tabular}{|l|l|l|}%
\hline%
\textbf{Parametro}&\textbf{Valore}&\textbf{Incertezza (1σ)}\\%
\hline%
A&$87.3140\,^\circ\mathrm{C}$&$\pm\,0.0260\,^\circ\mathrm{C}$\\%
$\tau$&$15.7231\,\mathrm{s}$&$\pm\,0.2021\,\mathrm{s}$\\%
\hline%
\end{tabular}%
\vspace{4pt}%
$R^2 = 0.999505$
\subsection{Equazione trovata}
\begin{equation}
T(t) = 22.99 + 87.3140 \cdot e^{-(t - 110.81) / 15.7231}
\end{equation}
\begin{tabular}{lll}
\toprule
\textbf{Parametro} & \textbf{Valore} & \textbf{Incertezza (1$\sigma$)} \\
\midrule
$A$ & $87.3140\,^\circ\mathrm{C}$ & $\pm\,0.0260\,^\circ\mathrm{C}$ \\
$\tau$ & $15.7231\,\mathrm{s}$ & $\pm\,0.2021\,\mathrm{s}$ \\
$R^2$ & \multicolumn{2}{l}{0.999505} \\
\bottomrule
\end{tabular}
%
\subsection{Grafico}%
\label{subsec:Grafico}%
\begin{figure}[H]%
\centering%
\includegraphics[width=0.9\textwidth]{C:/Users/davide.grilli/Desktop/vs/temperatura/induttore1/induttore1.png}%
\caption{Fit esponenziale — Induttore 1 {[}110.81 – 111.56 s{]}}%
\subsection{Grafico}
\begin{figure}[H]
\centering
\includegraphics[width=0.9\textwidth]{C:\Users\davide.grilli\Desktop\vs\temperatura\induttore1\induttore1.png}
\caption{Fit esponenziale -- Report Induttore 1 [110.81 – 111.56 s]}
\end{figure}
\newpage
%
\section{Induttore 2}%
\label{sec:Induttore2}%
\subsection{Intervallo di campionamento}%
\label{subsec:Intervallodicampionamento}%
\begin{tabular}{|l|l|}%
\hline%
\textbf{Parametro}&\textbf{Valore}\\%
\hline%
Inizio&112.02 s\\%
Fine&113.95 s\\%
Numero di punti&13\\%
\hline%
\section{Report Induttore 2}
\subsection{Intervallo di campionamento}
\begin{tabular}{ll}
\toprule
\textbf{Parametro} & \textbf{Valore} \\
\midrule
Inizio & $112.02$ s \\
Fine & $113.95$ s \\
Numero di punti & 12 \\
\bottomrule
\end{tabular}
%
\subsection{Equazione trovata}%
\label{subsec:Equazionetrovata}%
\[%
T(t) = 22.99 + 158.3430 \cdot e^{-(t - 112.02) / 13.2844}%
\]%
\vspace{4pt}%
\begin{tabular}{|l|l|l|}%
\hline%
\textbf{Parametro}&\textbf{Valore}&\textbf{Incertezza (1σ)}\\%
\hline%
A&$158.3430\,^\circ\mathrm{C}$&$\pm\,0.2088\,^\circ\mathrm{C}$\\%
$\tau$&$13.2844\,\mathrm{s}$&$\pm\,0.2183\,\mathrm{s}$\\%
\hline%
\end{tabular}%
\vspace{4pt}%
$R^2 = 0.997314$
\subsection{Equazione trovata}
\begin{equation}
T(t) = 22.99 + 158.3430 \cdot e^{-(t - 112.02) / 13.2844}
\end{equation}
\begin{tabular}{lll}
\toprule
\textbf{Parametro} & \textbf{Valore} & \textbf{Incertezza (1$\sigma$)} \\
\midrule
$A$ & $158.3430\,^\circ\mathrm{C}$ & $\pm\,0.2088\,^\circ\mathrm{C}$ \\
$\tau$ & $13.2844\,\mathrm{s}$ & $\pm\,0.2183\,\mathrm{s}$ \\
$R^2$ & \multicolumn{2}{l}{0.997314} \\
\bottomrule
\end{tabular}
%
\subsection{Grafico}%
\label{subsec:Grafico}%
\begin{figure}[H]%
\centering%
\includegraphics[width=0.9\textwidth]{C:/Users/davide.grilli/Desktop/vs/temperatura/induttore2/induttore2.png}%
\caption{Fit esponenziale — Induttore 2 {[}112.02 – 113.95 s{]}}%
\subsection{Grafico}
\begin{figure}[H]
\centering
\includegraphics[width=0.9\textwidth]{C:\Users\davide.grilli\Desktop\vs\temperatura\induttore2\induttore2.png}
\caption{Fit esponenziale -- Report Induttore 2 [112.02 – 113.95 s]}
\end{figure}
\newpage
%
\section{Induttore 3}%
\label{sec:Induttore3}%
\subsection{Intervallo di campionamento}%
\label{subsec:Intervallodicampionamento}%
\begin{tabular}{|l|l|}%
\hline%
\textbf{Parametro}&\textbf{Valore}\\%
\hline%
Inizio&115.0 s\\%
Fine&133.7 s\\%
Numero di punti&125\\%
Zona esclusa (peso = 0)&115.9 – 117.2 s\\%
\hline%
\section{Report Induttore 3}
\subsection{Intervallo di campionamento}
\begin{tabular}{ll}
\toprule
\textbf{Parametro} & \textbf{Valore} \\
\midrule
Inizio & $115.0$ s \\
Fine & $133.7$ s \\
Numero di punti & 125 \\
\bottomrule
\end{tabular}
%
\subsection{Equazione trovata}%
\label{subsec:Equazionetrovata}%
\[%
T(t) = 22.99 + 185.1847 \cdot e^{-(t - 115.0) / 16.2654}%
\]%
\vspace{4pt}%
\begin{tabular}{|l|l|l|}%
\hline%
\textbf{Parametro}&\textbf{Valore}&\textbf{Incertezza (1σ)}\\%
\hline%
A&$185.1847\,^\circ\mathrm{C}$&$\pm\,0.2706\,^\circ\mathrm{C}$\\%
$\tau$&$16.2654\,\mathrm{s}$&$\pm\,0.0464\,\mathrm{s}$\\%
\hline%
\end{tabular}%
\vspace{4pt}%
$R^2 = 0.993827$
\subsection{Equazione trovata}
\begin{equation}
T(t) = 22.99 + 185.1847 \cdot e^{-(t - 115.0) / 16.2654}
\end{equation}
\begin{tabular}{lll}
\toprule
\textbf{Parametro} & \textbf{Valore} & \textbf{Incertezza (1$\sigma$)} \\
\midrule
$A$ & $185.1847\,^\circ\mathrm{C}$ & $\pm\,0.2706\,^\circ\mathrm{C}$ \\
$\tau$ & $16.2654\,\mathrm{s}$ & $\pm\,0.0464\,\mathrm{s}$ \\
$R^2$ & \multicolumn{2}{l}{0.993827} \\
\bottomrule
\end{tabular}
%
\subsection{Grafico}%
\label{subsec:Grafico}%
\begin{figure}[H]%
\centering%
\includegraphics[width=0.9\textwidth]{C:/Users/davide.grilli/Desktop/vs/temperatura/induttore3/induttore3.png}%
\caption{Fit esponenziale — Induttore 3 {[}115.0 – 133.7 s{]}}%
\subsection{Grafico}
\begin{figure}[H]
\centering
\includegraphics[width=0.9\textwidth]{C:\Users\davide.grilli\Desktop\vs\temperatura\induttore3\induttore3.png}
\caption{Fit esponenziale -- Report Induttore 3 [115.0 – 133.7 s]}
\end{figure}
\newpage
%
\section{Riepilogo}%
\label{sec:Riepilogo}%
\begin{tabular}{|l|l|l|l|l|}%
\hline%
\textbf{Induttore}&\textbf{Intervallo {[}s{]}}&\textbf{A {[}°C{]}}&\textbf{$\tau$ [s]}&\textbf{$R^2$}\\%
\hline%
Induttore 1&110.81 – 111.56 s&87.3140&15.7231&0.999505\\%
Induttore 2&112.02 – 113.95 s&158.3430&13.2844&0.997314\\%
Induttore 3&115.0 – 133.7 s&185.1847&16.2654&0.993827\\%
\hline%
\section{Riepilogo}
\begin{tabular}{lllll}
\toprule
\textbf{Induttore} & \textbf{Intervallo [s]} & \textbf{A [°C]} & \textbf{$\tau$ [s]} & \textbf{$R^2$} \\
\midrule
Report Induttore 1 & 110.81 – 111.56 s & 87.3140 & 15.7231 & 0.999505 \\
Report Induttore 2 & 112.02 – 113.95 s & 158.3430 & 13.2844 & 0.997314 \\
Report Induttore 3 & 115.0 – 133.7 s & 185.1847 & 16.2654 & 0.993827 \\
\bottomrule
\end{tabular}
%
\end{document}