Skip to content

Integration of xplt into xsuite #5

@eltos

Description

@eltos

Following discussions with @giadarol and @eltos last week, we want to add xplt to the xsuite collection

  • Clarify preconditions / responsibilities (see below, by @giadarol @eltos @rdemaria @szymonlopaciuk)
  • Add @eltos to github.com/xsuite group (by @giadarol, at least temporary to allow moving the repo there)
  • Move repository github.com/eltos/xplt to github.com/xsuite/xplt (by @eltos)
  • Add @giadarol and @rdemaria as maintainer on PyPI (by @eltos, deployment is fully automated via GitHub action, but just in case)
  • Update xsuite examples and documentation to use xplt plots

I have added some guidelines and core concept description of xplt at https://github.com/eltos/xplt/wiki

Some things to clarify (we talked about it, but just to be sure)

  • @eltos will keep using and updating the library for his daily needs, likely on a separate branch and merging, publishing versions etc. in the short term
  • @giadarol will keep the library working with future updates / possible API changes of xsuite in the long term
  • On short term, the existing basic functionality remains somewhat independent of xsuite (i.e. no imports), since many of the spill and slow extraction related plots work and are being used with data from different sources (including detector data from measurements) and e.g. floor plan plotting of a sequence before/after conversion from MAD-X is useful

    As from the docs:
    Xsuite is not an explicit dependency, rather an API assumption on available attributes, indices and units. You can use data from any source, and also custom attributes. See examples/properties on how to specify units of custom attributes.

  • New functionality can rely on xsuite specific implementation details when required
  • Automated testing is currently done only by checking for exceptions, not by image comparison of actual output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions