Skip to content

Support slices to be used in xsuite #6

@rdemaria

Description

@rdemaria

Slice should be an element that tracks a portion of a field expansion. Something like this should work

Slice:
     def __init__(self,hamiltonian,s_start, length):
        ....
     def track(...):
          s_span = (s_start, s_start+length)
          self.hamiltonian.track(..., s_span=s_span)

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