pace.ambient_field#
- pace.ambient_field(data, cell_type=None, *, x=None, y=None, image=None, h_tech=5.0, spatial_key='spatial', n_threads=1)[source]#
The sparse cross-cell-type contamination field, in compressed-column form.
Only cells of a different type contribute, which is what makes the contamination separable from the biology at all.