Administrator
|
How to Add New Crystal Data in chi3D
- Locate the Materials Folder:
Navigate to the folder where material data is stored.
- Create a New Text File:
Create a new text file and name it appropriately, e.g., CLBO_new.dat .
- Format the Text File:
Refer to existing crystal files to understand the required format:
- The first line should include information about the source.
- Follow with the Sellmeier coefficients.
- Use Only Allowed Variables:
Ensure that only two variables are used in the equations:
lambda (wavelength in µm)
T (crystal temperature in °C)
- [Optional] Create a Transmission Data File:
Optionally, create a second file for linear crystal transmission, named similarly with the suffix -transmission.dat (e.g., CLBO_new-transmission.dat ), for a 1cm thickness.
- Send Data for Embedding:
If you prefer, you can send the data to me, and I can embed it in the code for you.
Tino Lang
|