Closed vreuter closed 9 months ago
Counterpoint: spots are expected to be rather punctate, particularly in the case of individual FISH spots rather than the regional ones, so perhaps a steeper decay than linear would be desired.
Related to #133 #136 #135
Per discussion with @TLSteinacker , will make method configurable but default to 'edge'.
When padding an ROI / spot image to account for near-boundary, when the natural ROI size doesn't conform to what's prescribed, consider using a descending linear ramp (
mode='linear_ramp'
as argument to themode
parameter innumpy.pad
https://numpy.org/doc/1.26/reference/generated/numpy.pad.html). Consider also controllingend_values
parameter to something other than 0, e.g. to the min on the other edge. This could more appropriately represent the signal decay we'd expect to see.@TLSteinacker what do you think?