Finished (:D) fig_invariance_thresh_lp_single.pdf.

Added/modified few plot functions.
Cleaned up simulation/plotting scripts regarding Thresh-LP.
This commit is contained in:
j-hartling
2026-03-25 16:00:58 +01:00
parent dc4443aa17
commit 1a29b95782
17 changed files with 437 additions and 891 deletions

View File

@@ -52,6 +52,7 @@
\newcommand{\figb}{\textbf{b}}
\newcommand{\figc}{\textbf{c}}
\newcommand{\figd}{\textbf{d}}
\newcommand{\fige}{\textbf{e}}
% Math shorthands - Standard symbols:
\newcommand{\dec}{\log_{10}} % Logarithm base 10
@@ -641,8 +642,8 @@ the signal for reliable song recognition.
different scales $\sca$.
\textbf{Right}:~Ratios of the standard deviation of
$\env(t)$, $\db(t)$, and $\adapt(t)$ relative to the
respective reference standard deviation for input
$\filt(t)=\noc(t)$.
respective reference standard deviation $\sigma_{\eta}$
for input $\filt(t)=\noc(t)$.
\figa{} and \figb:~Ideally, if $\filt(t)=\sca\cdot\soc(t)$, then
$\adapt(t)$ is intensity-invariant across all $\sca$.
\figc{} and \figd:~In practice, if
@@ -661,49 +662,32 @@ the signal for reliable song recognition.
\centering
\includegraphics[width=\textwidth]{figures/fig_invariance_thresh_lp_single.pdf}
\caption{\textbf{Intensity invariance by thresholding and temporal
averaging depends on the threshold value with regard to
variable range but not saturation level.}
Kernel response $c_i(t)$ is rescaled by $\sca$ and
transformed into binary response $b_i(t)$ and further into
feature $f_i(t)$. Threshold value $\thr$ is set to
different percentiles of the the distribution of $c_i(t)$
at $\sca=1$. Darker colors indicate higher values of
$\thr$. Indicated time scale of $100\,$ms is the same for
\textbf{a}-\textbf{c} (black bar).
\textbf{a}:~50th percentile.
\textbf{b}:~75th percentile.
\textbf{c}:~100th percentile.
\textbf{d}:~Average value of $f_i(t)$ during the song for
the different $\thr$ in \textbf{a}-\textbf{c}.
averaging depends on both the threshold value and the
noise floor.}
Synthetic input $\adapt(t)$ consists of song component
$\soc(t)$ scaled by $\sca$ with additive noise component
$\noc(t)$. Input $\adapt(t)$ is transformed into kernel
response $c_i(t)$, binary response $b_i(t)$, and feature
$f_i(t)$. Threshold value $\thr$ is set to multiples of
the reference standard deviation $\sigma_{\eta}$ of $c_i(t)$ for input
$\adapt(t)=\noc(t)$. Darker colors correspond to higher
$\thr$.
\textbf{Left}:~$\adapt(t)$, $c_i(t)$, $b_i(t)$, and
$f_i(t)$ for different scales $\sca$ and threshold values
$\thr$. Left-most column is is the pure-noise reference.
\textbf{Right}:~Average value of $f_i(t)$ during the song
for the different $\thr$.
\figa:~Input $\adapt(t)$.
\figb-\figd:~$c_i(t)$, $b_i(t)$, and $f_i(t)$ for the
different $\thr$ based on the same $\adapt(t)$ from
\figa{}.
\fige:~Average value of $f_i(t)$ during the song for
the different $\thr$ in \figb{}-\figd.
}
\label{fig:inv_thresh-lp_single}
\end{figure}
\FloatBarrier
\begin{figure}[!ht]
\centering
\includegraphics[width=\textwidth]{figures/fig_invariance_thresh_lp_single_noise.pdf}
\caption{\textbf{Intensity invariance by thresholding and temporal
averaging depends on noise with regard to variable range
but not saturation level.}
Kernel response $c_i(t)$ is rescaled by $\sca$, mixed with
fixed-scale noise component $\noc(t)$, and transformed
into binary response $b_i(t)$ and further into feature
$f_i(t)$. Threshold value $\thr$ is set to different
percentiles of the the distribution of $c_i(t)$ at
$\sca=1$. Darker colors indicate higher values of $\thr$.
Indicated time scale of $100\,$ms is the same for
\textbf{a}-\textbf{c} (black bar).
\textbf{a}:~50th percentile.
\textbf{b}:~75th percentile.
\textbf{c}:~100th percentile.
\textbf{d}:~Average value of $f_i(t)$ during the song for
the different $\thr$ in \textbf{a}-\textbf{c}.
}
\label{fig:inv_thresh-lp_single_noise}
\end{figure}
\FloatBarrier
\begin{figure}[!ht]
\centering
\includegraphics[width=\textwidth]{figures/fig_invariance_thresh_lp_species.pdf}