CODE V macro to model a GRIN-axicon and python scripts to fit the GRIN-axicon parameters to an existing axicon's parameters. Make sure to read the intership overview (IntershipRport.pdf
) for further details about the GRIN-axicon.
Intallation process:
- Install the
GUI_GRIN-axicon.py
file - Open the Python GRIN-Axicon configurator folder in the GRIN-axicon repo on any python IDLE (like VS Code)
Configuring a GRIN-axicon
- When running the
GUI_GRIN-axicon.py
file, an interface should pop up, start by entering the axicon parameters in the Axicon configuration pannel. - Play with the GRIN-axicon sliders to match the input beam diameter to the output beam diameter (if you don't necessarily want an exact copy of the axicon, you can play around until you find your desired GRIN-axcion setup)
Intallation process:
- Install the
GRIN-axicon_macro.seq
file - Copy the sequence file into the working directory
- For ease of use, when first opening CODE V and, using the Macro Manager, assign the macro to a desired menu
- Install the modified version of
usergrn.seq
- In the local repository where the built-in CODE V macro are saved, delete the original usergrn.seq and replace it by the modified one (in my case, C:\CODEV112_SR1\macro).
Creating a GRIN
- Open CODE V
- Run the GRIN-axicon_macro.seq either by a menu shortcut, the Macro Manager or by typing
in GRIN-axicon_macro
- Type the desired grin glass name
- Select the desired mode (theo vs exp: when using the experimental mode, make sure that the file is in the working directory)
- Run macro with the desired parameters
Also, when using the experimental mode, make sure to format the refractive index profile correctly using this Python progam (if you are not in the DCC Lab team, copy the code to your own Google Collab file and change the file names): https://colab.research.google.com/drive/1K1_1UN_SLIXMgnj2FgyKjVjrnuUiGcWT?usp=sharing