%%%%% Definitions
\usepackage{amsmath}
\DeclareMathOperator{\R}{\mathbb{R}}
\DeclareMathOperator{\Z}{\mathbb{Z}}
\DeclareMathOperator{\N}{\mathbb{N}}
\DeclareMathOperator{\Q}{\mathbb{Q}}
\DeclareMathOperator{\C}{\mathbb{C}}


\DeclareMathOperator{\Tr}{\mathrm{Tr}}
\DeclareMathOperator{\sgn}{\mathrm{sgn}}
\DeclareMathOperator{\Det}{\mathrm{det}}


\DeclareMathOperator{\erf}{\mathrm{erf}\,}
\DeclareMathOperator{\eps}{\varepsilon}
\DeclareMathOperator{\const}{\text{const}}
\DeclareMathOperator{\nequiv}{\not \equiv}
\DeclareMathOperator{\bessel}{J}
\DeclareMathOperator{\F}{\mathcal{F}}
\DeclareMathOperator{\J}{\mathcal{J}}

\DeclareMathOperator{\BigO}{\mathcal{O}}

\DeclareMathOperator{\?}{\negthickspace}

\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}

\newcommand{\cmmnt}[1]{\ignorespaces}


\newcommand{\Id}{Id}
\newcommand{\dpartial}[2]{\ensuremath{\frac{\partial #1}{\partial #2}}}
\newcommand{\ddiff}[2]{\ensuremath{\frac{d #1}{d #2}}}
\newcommand{\dvector}[2]{\ensuremath{\begin{pmatrix} #1 \\ #2\end{pmatrix}}}
\newcommand{\colvector}[2]{\ensuremath{\begin{pmatrix}#1\\#2\end{pmatrix}}}
\newcommand{\scalar}[1]{\ensuremath{\langle #1 \rangle}}
\newcommand{\legendre}[2]{\ensuremath{\big(\tfrac{#1}{#2}\big)}}
\newcommand{\mean}[1]{\ensuremath{\langle #1 \rangle}}
\newcommand{\norm}[1]{\ensuremath{\left\lVert #1 \right\rVert}}

\newcommand{\Var}{\ensuremath{\text{Var}}}
\newcommand{\Cov}{\ensuremath{\text{Cov}}}



\newcommand{\sizetwo}[2]{\ensuremath{#1\!\times\!#2\xspace}}
\newcommand{\sizethree}[3]{\ensuremath{#1\mkern-2mu\times\mkern-2mu#2\mkern-2mu\times\mkern-2mu#3\xspace}}

\newcommand{\negspace}{\ensuremath{\mkern-10mu}}%
\newcommand\abs[1]{\lvert #1 \rvert}
\newcommand\ceil[1]{\lceil #1 \rceil}
\newcommand\floor[1]{\lfloor #1 \rfloor}


\makeatletter
\DeclareRobustCommand\onedot{\futurelet\@let@token\@onedot}
\def\@onedot{\ifx\@let@token.\else.\null\fi\xspace}

\def\eg{\emph{e.g}\onedot} \def\Eg{\emph{E.g}\onedot}
\def\ie{\emph{i.e}\onedot} \def\Ie{\emph{I.e}\onedot}
\def\cf{\emph{cf.}\xspace} \def\Cf{\emph{Cf.}\xspace}

\def\etc{\emph{etc}\onedot} \def\vs{\emph{vs}\onedot}
\def\wrt{w.r.t\onedot} \def\dof{d.o.f\onedot}
\def\etal{\emph{et~al}\onedot}
\makeatother

\newcommand{\um}{\ensuremath{\mu m}\xspace}
\newcommand{\nm}{\ensuremath{nm}\xspace}
\newcommand{\uM}{\ensuremath{\mu M}\xspace}
\newcommand{\ug}{\ensuremath{\mu g}\xspace}


\newcommand{\simi}{\mathord{\sim}}
\newcommand{\NA}{\mathit{NA}}
\newcommand{\MB}{\mathrm{MB}}
\newcommand{\figpart}[1]{#1)}


\newcommand{\Fucci}{\textsc{Fucci}\xspace}
\newcommand{\Mamba}{\textsc{Mamba}\xspace}
\newcommand{\LSTM}{\textsc{LSTM}\xspace}

\newcommand{\dataregular}{\textsc{Regular}\xspace}
\newcommand{\datadrug}{\textsc{Drug}\xspace}

\newcommand{\DTW}{\ensuremath{\Delta_{DTW}}\xspace}