forked from mess42/pyrate
-
Notifications
You must be signed in to change notification settings - Fork 1
Simplify creating Raypath #35
Copy link
Copy link
Open
Description
Typically raypaths are generated in three steps:
- (o, k, E) = collimated[divergent]_bundle(num_rays, start_dict, wave=wavelength)
- initialbundle = RayBundle(x0=o, k0=k, Efield0=E, wave=wavelength)
- raypaths = s.seqtrace(initialbundle, sequence)
Implement these three steps into a convenience function. This is necessary since drawing, optimization and spotdiagramms usually need different number of rays or ray fans.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels