Open gschlafly opened 1 year ago
Good idea. We briefly talked about this with Grant. A more elegant way of doing this would be to create a 'translate', 'rotate', 'scale' functions, such that we can translate not only axially but in any direction, and we could transform and create more complex volumes without overloading the init_from_file function.
If you agree I' can implement these functions :)
I agree—much more elegant!
The function
BirefringentVolume.create_dummy_volume
contains a parameter to shift the volume axially by a given amount. It would be great if this option were also added toBirefringentVolume.init_from_file
. These functions are located inVolumeRaytraceLFM\birefringence_implementations.py
.