hgana.utilsΒΆ

Here popular basic methods are noted.

Functions

column(data) Convert given row list matrix into column list matrix
load(link) Load pickled object from the specified folder.
mkdirp(directory) Create directory if it does not exist.
mmol_g_to_mumol_m2(c, A) Convert the concentration \(\frac{\text{mmol}}{\text{g}}\) to \(\frac{\mu\text{mol}}{\text{m}^2}\).
mmol_l_to_mols(c, V) Convert the concentration in \(\frac{\text{mmol}}{\text{l}}\) to number of molecules.
mols_to_mmol_l(N, V) Convert the number of molecules to concentration in \(\frac{\text{mmol}}{\text{l}}\).
mols_to_mumol_m2(N, A) Convert the number of molecules to concentration in \(\frac{\mu\text{mol}}{\text{m}^2}\).
mumol_m2_to_mols(c, A) Convert the concentration in \(\frac{\mu\text{mol}}{\text{m}^2}\) to number of molecules.
save(obj, link) Save an object using pickle in the specified link.
tic() MATLAB tic replica - return current time.
toc(t[, message, is_print]) MATLAB toc replica - return time difference to tic and alternatively print a message.