Skip to content

Commit

Permalink
Create StatePolarization Class
Browse files Browse the repository at this point in the history
  • Loading branch information
cailafinn committed Feb 10, 2025
1 parent 0a85071 commit a8839e7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions scripts/SANS/sans/state/StateObjects/StatePolarization.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Mantid Repository : https://github.com/mantidproject/mantid
#
# Copyright © 2023 ISIS Rutherford Appleton Laboratory UKRI,
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
"""Defines the state of the polarization taking place during the run."""

from sans.state.JsonSerializable import JsonSerializable

# ----------------------------------------------------------------------------------------------------------------------
# State
# ----------------------------------------------------------------------------------------------------------------------


class StatePolarization(metaclass=JsonSerializable):
def __init__(self):
super(StatePolarization, self).__init__()

self.flipper_configuraiton = None # : Str()
self.spin_configuration = None # : Str()

0 comments on commit a8839e7

Please sign in to comment.