stilt.footprint.Jacobian#

class stilt.footprint.Jacobian(data: sparse.csr_matrix, receptors: pd.Index, columns: pd.MultiIndex, empty: list[str], missing: list[str])[source]#

Footprints of many receptors summed onto a target, as one sparse matrix.

Methods#

to_frame([sparse])

Return the matrix as a DataFrame, receptors by columns.

to_xarray([dense])

Return the matrix as a DataArray with dims (receptor, time, cell).