Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P pykat
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • finesse
  • pykat
  • Issues
  • #5
Closed
Open
Created May 10, 2016 by Daniel Toyra@dtoyraDeveloper

Detector output format in PyKat when using x2axis in Finesse

With one xaxis and yaxis abs:deg or yaxis re:im, the output from out['detector_name'] is an array of complex numbers.

If we add an x2axis, the output from out['detector_name'] is a 3D matrix, where for

  • yaxis re:im the output from out['detector_name'][0] is a 2D matrix with the real parts and out['detector_name'][1] is a 2D matrix with the imaginary parts.
  • yaxis abs:deg the output from out['detector_name'][0] is a 2D matrix with the absolute values and out['detector_name'][1] is a 2D matrix with the phases in degrees.

I think the outputs with one and two x-axes should be consistent. I suggest that we change the output when using x2axis into complex number as well.

Assignee
Assign to
Time tracking