Skip to content

Commit a8839e7

Browse files
committed
Create StatePolarization Class
RE mantidproject#38524
1 parent 0a85071 commit a8839e7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Mantid Repository : https://github.com/mantidproject/mantid
2+
#
3+
# Copyright © 2023 ISIS Rutherford Appleton Laboratory UKRI,
4+
# NScD Oak Ridge National Laboratory, European Spallation Source,
5+
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6+
# SPDX - License - Identifier: GPL - 3.0 +
7+
"""Defines the state of the polarization taking place during the run."""
8+
9+
from sans.state.JsonSerializable import JsonSerializable
10+
11+
# ----------------------------------------------------------------------------------------------------------------------
12+
# State
13+
# ----------------------------------------------------------------------------------------------------------------------
14+
15+
16+
class StatePolarization(metaclass=JsonSerializable):
17+
def __init__(self):
18+
super(StatePolarization, self).__init__()
19+
20+
self.flipper_configuraiton = None # : Str()
21+
self.spin_configuration = None # : Str()

0 commit comments

Comments
 (0)