You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On 12/4/24 Troy requested a figure describing latency in escape onset. We are suspicious that only a few crabs are escaping from the stimulus, while other crabs trigger escape because of their conspecifics. Chatting with Sofia & Nik, we think the best way to approach this is to compare velocity (displacement of a bounding box's centroid between frame t and t+1) against time to identify which crab(s) began escape first (acceleration will likely be too noisy).
"Caveats:
distances are not "true magnitude", since we don't correct for 3D (yet). Speed will be based on translation on the image plane (rather than on the ground), so animals that are far will appear to move less in the same amount of time (hence will seem slower).
we will likely need to pay attention to filtering/smoothing: we probably will need to smooth the trajectories a bit to have a not too noisy velocity vector, but this may affect the measured latency. A good option may be a SG filter, which preserve a bit more high freq components"
determine centroid displacement of bounding boxes with identical tracking IDs across frames - movement package may be helpful
for each tracking ID, compute velocity at each t+1 frame (Sofia says copute velcity vector with python functionality, 'then the norm of that vector for the speed' - maybe @sfmig can clarify later what she means by norm of that vector, i.e., presuming no acceleration?)
graph velocity over time to compare all tracking IDs
identify whether some individuals initiated escape prior to others (if a response gap is not naturally observed from Vmax delays among crabs, we may need to define speed threshold considered as escape onset and compute onset delay in ms for all individuals from the first identified escapee). potentially insiring source 1 & 2.
The text was updated successfully, but these errors were encountered:
On 12/4/24 Troy requested a figure describing latency in escape onset. We are suspicious that only a few crabs are escaping from the stimulus, while other crabs trigger escape because of their conspecifics. Chatting with Sofia & Nik, we think the best way to approach this is to compare velocity (displacement of a bounding box's centroid between frame t and t+1) against time to identify which crab(s) began escape first (acceleration will likely be too noisy).
"Caveats:
To achieve this:
The text was updated successfully, but these errors were encountered: