We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
Optics

Optics

Topics related to Speos.

AssertionError: The .xmp map must be spectral

    • k.ranjan
      Subscriber

      The screenshot of the execution error while using ansys speos camera wrapper batch file for temperature mapping. 

    • Laura Martín
      Ansys Employee

      Hello k.ranjan,

      Thank you for reaching out to us. That execution error you're encountering may indicate that the incorrect XMP map is being used. When saving Speos simulation results, please ensure you're using the .Irradiance.xmp file in the batch file for temperature mapping, not the .xmp file one. 

      Additionally, I highly recommend going through our article Using FLIR Thermal Cameras in Speos to generate temperature maps – Ansys Optics, which provides a more detailed explanation of the workflow for thermal camera integration.

      Hope this helps resolve the issue and please don't hesitate to come back if the error persists or if you have any further questions.

      Kind regards,

      Laura

    • k.ranjan
      Subscriber

      Hi Laura,

      Thank you for your response. I'm using the same. Irradiance.xmp file for conversion and referred to the same article, but the error still persists.Have a look on my batch file. Kindly help.

      • Laura Martín
        Ansys Employee

        Hi k.ranjan,

        The file extension ".xmp" for the irradiance map is missing, the correct name to have in the batch file would be: "Camera.lens.FLIR_ADK_640x512_GMSL2_75deg_FOV.Irradiance.xmp". Please let me know if this modification solves the issue.

        Kind regards,

        Laura

    • k.ranjan
      Subscriber

      With that modification also, I have tried and I'm getting the same error: "The .xmp file must be spectral."

      Kindly suggest what to do next. Is there anything related to file location or something else?

       

       

      • Laura Martín
        Ansys Employee

         

        Hi k.ranjan,

        If after saving and executing the batch file with this modification the error persist, I would recommend reviewing the path for every file included in the batch file. Please note that, with the path you are using, both the Irradiance XMP map and the .thermalpbcam must be in the same folder as the batch file.  Also, the directory (or folder) for the generation of .png and .xmp temperature maps should be already existing (please see the example I attach bellow for other thermal camera).

        In addition, may I ask you if you are eligible for support? If yes, is it possible to open a case through our portal so you can attach your files? This way I’ll be able to pick up your case, investigate the issue and resolve your question quicker. If not, I am still happy to help you through this forum!

        Laura

         

    • k.ranjan
      Subscriber

      Yes, I'm eligible for the case support. Kindly provide me the link to open case.

      • Laura Martín
        Ansys Employee

        Hi k.ranjan,

        Then, lease find the access to the Ansys Customer Support Space here: CustSelfReg. You can also find the access and more related information inside this website: Ansys Support Space | Innovation Space. When you submit the support case, please include my name in the description or in cc so I can pick it up more quickly.

        Let's continue the discussion there, thank you.

        Laura

    • k.ranjan
      Subscriber

      It is showing that we are not eligible to take direct help from Ansys customer support. Could you please tell me how you can support me through the forum?

      Have a look at my format in which I kept the file.

      • Laura Martín
        Ansys Employee

        Hi k.ranjan,

        To ensure everything is correctly defined, I would recommend following these steps:

          1. Execute the simulation provided in the article Using FLIR Thermal Cameras in Speos to generate temperature maps – Ansys Optics. Verify that it behaves as described.

          2. Compare your simulation results and batch file definitions with those in the article. Look for any discrepancies or errors. Additionally, try substituing the batch and camera wrapper files with the ones provided in the article or in the Optical Libraries package.

          3. In Speos, review the camera sensor settings, particularly the files related to TransmittanceDistortion, and Spectrum for each thermal camera type.

          4. Ensure the irradiance *.xmp file is generated correctly and that all settings are properly configured before saving.

          5. Double-check the file paths referenced in the batch file to ensure they are accurate and accessible.

          6. If your files are stored in the cloud, try running the simulation and executing the batch file from your local disk.

        Unfortunately, without access to your files, I can't provide more detailed information about the error message you're encountering. However, I hope these steps help you review all the necessary files and settings related to the thermal camera configuration. Please feel free to come back if the error message persists and thank you for your patience.

        Kind regards,

        Laura

    • k.ranjan
      Subscriber

      Hi Laura,

      Thank you so much for the detailed explanation. I will first try the existing file execution and then let you know for further queries. 

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