Photonics

Photonics

Topics related to Lumerical and more

New Material Importing, Only Takes Integer Part

    • Mustafa Berkay Sokmen
      Subscriber

      When I try to add new material data with importing 3d sampled data, Lumerical only takes the integer part of the values. I added the screenshots. Anybody knows the solution?


    • Amrita Pati
      Ansys Employee

      Hi Mustafa,

      I tested something similar and I was able to import the data without any issue. The wavelength is not being populated as well. Are there any spaced in front of the data? The first column should be wavelength, the second should be the real part of the index, and the 3rd should be the imaginary. I am wondering there are spaces before the first column? Here's what the data I use look like:

      I will recommend you to also make sure that the unit of the wavelength is correct when you import the data.

      Regards,
      Amrita

    • Mustafa Berkay Sokmen
      Subscriber

      yes in the one I uploaded there are spaces but I have already tried without the spaces. Also tried changing the wavelength unit, using commas instead of dots, using commas instead of spaces. Tried as ".yaml" file. Here how the file I generaly tried looks like:

      275.44 2.44991257 0.33115524
      277.03 2.44801587 0.3117007
      278.62 2.4449101 0.2928575
      280.22 2.44072204 0.27472102
      281.81 2.43558114 0.25736217
      283.4 2.42961505 0.24082882
      284.99 2.42294624 0.22514871
      286.58 2.41568999 0.21033313
      288.18 2.40795253 0.19637917

Viewing 2 reply threads
  • You must be logged in to reply to this topic.