-
Hi , |
Beta Was this translation helpful? Give feedback.
Answered by
fhagemann
Aug 8, 2025
Replies: 1 comment 1 reply
-
The way we do it in the charge drift is using an interpolated electric field. SolidStateDetectors.jl/src/ElectricField/ElectricField.jl Lines 208 to 210 in e68da8b So, I’m not on my computer right now, but something along the lines ef = SolidStateDetectors.interpolated_vectorfield(sim.electric_field)
result = SolidStateDetectors.get_velocity_vector(ef, CartesianPoint(pt)) # or CylindricalPoint, if sim is on a Cylindrical grid |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rajxabc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The way we do it in the charge drift is using an interpolated electric field.
SolidStateDetectors.jl/src/ElectricField/ElectricField.jl
Lines 208 to 210 in e68da8b
SolidStateDetectors.jl/src/ChargeDrift/ChargeDrift.jl
Line 105 in e68da8b
So, I’m not on my computer right now, but something along the lines