pycroxe.beam.get_descendant_processes_by_projectiles#
- pycroxe.beam.get_descendant_processes_by_projectiles(conn: CroXeConnection, initial_projectiles: list[str], target: str, product_frame: str = 'projectile') list[BeamProcessRecord]#
Return all beam-on-target processes reachable from projectile in
initial_projectiles.This function leverages a recursive CTE to traverse a beam-on-target processes graph built from the
beam_processestable.Parameters#
- conn
pycroxe.CroXeConnection An open
pycroxe.CroXeConnection.- inital_projectileslist[str]
List of chemical symbols of the starting projectile species.
- targetstr
Chemical symbol of the target species.
- product_framestr, optional
Reference frame of the product after the collision (default:
'projectile').
Returns#
- processeslist[
pycroxe.beam.BeamProcessRecord] All processes reachable from starting projectile species.
Raises#
- ValueError
If
inital_projectilesis empty.
- conn