Skip to content

incorrect third order aberrations in reflective system #347

@ajwitte

Description

@ajwitte

Checklist

  • I have searched the existing issues and discussions for a similar question or problem.
  • I have read the documentation and tried to find an answer there.
  • I am using the latest version of Optiland (if not, please update and retry).
  • I have tried to reproduce or debug the issue myself before opening this.
  • I have included all necessary context, such as version info, error messages, or minimal reproducible examples.

Bug Report

Describe the bug
In version 0.5.6, I am getting 0 for all seidels() except S5 for a cassegrain-like system. I don't think it is the same as issue #300 because I have multiple fields and because my invariant() is nonzero. This issue reproduces with the similar system optiland.samples.telescopes.HubbleTelescope.

To Reproduce

from optiland.samples.telescopes import HubbleTelescope
HubbleTelescope().aberrations.seidels()
# => array([0.       , 0.       , 0.       , 0.       , 0.0014539])

Expected behavior
The HubbleTelescope is a two-mirror system so more of the aberration coefficients ought to be nonzero.

Environment

  • Optiland Version: 0.5.6
  • Python Version: 3.10.11
  • OS: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions