majoplot 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- majoplot/domain/base.py +6 -6
- majoplot/domain/muti_axes_spec.py +0 -1
- majoplot/domain/scenarios/VSM/MT.py +1 -1
- majoplot/domain/scenarios/VSM/MT_insert.py +1 -1
- majoplot/domain/scenarios/VSM/MT_reliability_analysis.py +1 -1
- {majoplot-0.1.2.dist-info → majoplot-0.1.3.dist-info}/METADATA +1 -1
- {majoplot-0.1.2.dist-info → majoplot-0.1.3.dist-info}/RECORD +10 -10
- {majoplot-0.1.2.dist-info → majoplot-0.1.3.dist-info}/WHEEL +0 -0
- {majoplot-0.1.2.dist-info → majoplot-0.1.3.dist-info}/entry_points.txt +0 -0
- {majoplot-0.1.2.dist-info → majoplot-0.1.3.dist-info}/licenses/LICENSE +0 -0
majoplot/domain/base.py
CHANGED
|
@@ -38,7 +38,7 @@ class LabelValue(NamedTuple):
|
|
|
38
38
|
elif other.unit is None:
|
|
39
39
|
return False
|
|
40
40
|
else:
|
|
41
|
-
return self.unit
|
|
41
|
+
return self.unit < other.unit
|
|
42
42
|
else:
|
|
43
43
|
return True
|
|
44
44
|
elif isinstance(other.value, Real):
|
|
@@ -216,7 +216,7 @@ class Data:
|
|
|
216
216
|
|
|
217
217
|
@property
|
|
218
218
|
def y_for_plot(self)->NDArray[np.floating]:
|
|
219
|
-
if self.
|
|
219
|
+
if self._y_for_plot is None:
|
|
220
220
|
self._y_for_plot = self.points_for_plot[:,1]
|
|
221
221
|
return self._y_for_plot
|
|
222
222
|
|
|
@@ -320,8 +320,8 @@ class AnnotationSpec(NamedTuple):
|
|
|
320
320
|
class ArrowSpec(NamedTuple):
|
|
321
321
|
point_x:float
|
|
322
322
|
point_y:float
|
|
323
|
-
arrowstyle:str = "->"
|
|
324
|
-
color:str = "black"
|
|
323
|
+
arrowstyle:str = "->"
|
|
324
|
+
color:str = "black"
|
|
325
325
|
linewidth:float = 1.0
|
|
326
326
|
|
|
327
327
|
class IgnoreOutlierSpec(NamedTuple):
|
|
@@ -350,10 +350,10 @@ class MutiAxesSpec(Protocol):
|
|
|
350
350
|
...
|
|
351
351
|
|
|
352
352
|
# ======== Proj & folder ========
|
|
353
|
-
class folder(dict[str
|
|
353
|
+
class folder(dict[str,Figure]):
|
|
354
354
|
pass
|
|
355
355
|
|
|
356
|
-
class Project(dict[str
|
|
356
|
+
class Project(dict[str,folder]):
|
|
357
357
|
pass
|
|
358
358
|
|
|
359
359
|
# ======== Scenario ========
|
|
@@ -76,7 +76,7 @@ class MT:
|
|
|
76
76
|
check_deque.append(point)
|
|
77
77
|
if len(check_deque) == 2:
|
|
78
78
|
# not the same H?
|
|
79
|
-
if abs(check_deque[1][iH] - H_stage) >
|
|
79
|
+
if abs(check_deque[1][iH] - H_stage) > 1.5:
|
|
80
80
|
append_data()
|
|
81
81
|
current_points = [check_deque.pop()]
|
|
82
82
|
H_stage = round(current_points[0][iH])
|
|
@@ -77,7 +77,7 @@ class MT_insert:
|
|
|
77
77
|
check_deque.append(point)
|
|
78
78
|
if len(check_deque) == 2:
|
|
79
79
|
# not the same H?
|
|
80
|
-
if abs(check_deque[1][iH] - H_stage) >
|
|
80
|
+
if abs(check_deque[1][iH] - H_stage) > 1.5:
|
|
81
81
|
append_data()
|
|
82
82
|
current_points = [check_deque.pop()]
|
|
83
83
|
H_stage = round(current_points[0][iH])
|
|
@@ -88,7 +88,7 @@ class MT_reliability_analysis:
|
|
|
88
88
|
check_deque.append(point)
|
|
89
89
|
if len(check_deque) == 2:
|
|
90
90
|
# not the same H?
|
|
91
|
-
if abs(check_deque[1][iH] - H_stage) >
|
|
91
|
+
if abs(check_deque[1][iH] - H_stage) > 1.5:
|
|
92
92
|
append_data()
|
|
93
93
|
current_points = [check_deque.pop()]
|
|
94
94
|
H_stage = round(current_points[0][iH])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: majoplot
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Automates scenario-specific data preprocessing and plotting workflows for condensed-matter physics labs (OriginLab COM backend + Matplotlib for preview).
|
|
5
5
|
Project-URL: Homepage, https://github.com/ponyofshadows/majoplot
|
|
6
6
|
Project-URL: Source, https://github.com/ponyofshadows/majoplot
|
|
@@ -4,24 +4,24 @@ majoplot/config.json,sha256=Fsh4B6pg6et-beyNUQ-pOu3CWd48FYIriqnOUgsaGig,183
|
|
|
4
4
|
majoplot/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
majoplot/app/cli.py,sha256=L3ADrNasVBFZdmh5r6exuxJEcXJKx7_MROOM4DtjxxM,10033
|
|
6
6
|
majoplot/app/gui.py,sha256=CpRg6LRI3dM2ALswnwz89KSKjONHRlfs69eO8P2VWYE,142
|
|
7
|
-
majoplot/domain/base.py,sha256=
|
|
8
|
-
majoplot/domain/muti_axes_spec.py,sha256=
|
|
7
|
+
majoplot/domain/base.py,sha256=DKlK1_2cdRS2CVwnWJc-EFYKKl3MS3WZ445LoMMq6PU,14341
|
|
8
|
+
majoplot/domain/muti_axes_spec.py,sha256=pF4Yy2x12QSFny5x18gave-f-ZYuJMW-czwwsJ-6Ths,6313
|
|
9
9
|
majoplot/domain/utils.py,sha256=apAilr9QHNmfX49JlWPmbZJZqYSoIH3qM3tFDNcWAuI,3283
|
|
10
10
|
majoplot/domain/importers/PPMS_Resistivity.py,sha256=zJe_33w0i90am9yI24r4STjG53AggUH_QdOY1HobT3g,4492
|
|
11
11
|
majoplot/domain/importers/VSM.py,sha256=bn9DQVrjAt8cnSXxZhHzXoDrMjV6MXrs84_c7UkmfKM,3549
|
|
12
12
|
majoplot/domain/importers/XRD.py,sha256=K93Gwce45-ta-TfOt7ijrJVBtePU1veDcRYUyeP4sOI,2808
|
|
13
13
|
majoplot/domain/scenarios/PPMS_Resistivity/RT.py,sha256=Qt3jHr4gK0Wu8FYee-duznIqqCK4G6OBAat0H3MbQjU,4573
|
|
14
|
-
majoplot/domain/scenarios/VSM/MT.py,sha256=
|
|
15
|
-
majoplot/domain/scenarios/VSM/MT_insert.py,sha256=
|
|
16
|
-
majoplot/domain/scenarios/VSM/MT_reliability_analysis.py,sha256=
|
|
14
|
+
majoplot/domain/scenarios/VSM/MT.py,sha256=IcXonnQjacJcJfiygOXRw0DbRBkfxV_Ap0cE-17JUW8,4532
|
|
15
|
+
majoplot/domain/scenarios/VSM/MT_insert.py,sha256=Dq0MPRdwKrgQ9V3ojzQua-RTPKx94LjukVADY4j9DsA,4693
|
|
16
|
+
majoplot/domain/scenarios/VSM/MT_reliability_analysis.py,sha256=ML57oB2UnEUYAs6XskU9zgLs0O-vkwCZCpslCb3-be0,5091
|
|
17
17
|
majoplot/domain/scenarios/XRD/Compare.py,sha256=6ST3Uwcv4_2Xegxa1Zugu8noAy_rJHpCRc3iH2n2EMU,3859
|
|
18
18
|
majoplot/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
majoplot/gui/main.py,sha256=A3hLqs96zK7TrXAOUdSn-sip9Ivzmy74263lDmjINSk,20222
|
|
20
20
|
majoplot/infra/plotters/matplot.py,sha256=DE3nCfFjL9FxNbuEgggJyXlolkP1nWKmNwJElt1bgHw,12281
|
|
21
21
|
majoplot/infra/plotters/origin.py,sha256=m5cMYqnKHB2GJSTWlAbd61b2Xz7rvaHT38JXLHUTSQQ,39034
|
|
22
22
|
majoplot/infra/plotters/origin_utils/originlab_type_library.py,sha256=zxOxF7nB57zwnXSaFSoCUV64ZTHhDBDRv57exatiBoU,37398
|
|
23
|
-
majoplot-0.1.
|
|
24
|
-
majoplot-0.1.
|
|
25
|
-
majoplot-0.1.
|
|
26
|
-
majoplot-0.1.
|
|
27
|
-
majoplot-0.1.
|
|
23
|
+
majoplot-0.1.3.dist-info/METADATA,sha256=KI4zeDOuQmpe-jkD0fzNPsgDgVIy_eXG2tZwn_wi8n8,2877
|
|
24
|
+
majoplot-0.1.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
25
|
+
majoplot-0.1.3.dist-info/entry_points.txt,sha256=zEiPXZtNyJQMvVS-Zl9psx8SpTafOcs8F9S8xGtOaBM,52
|
|
26
|
+
majoplot-0.1.3.dist-info/licenses/LICENSE,sha256=fj2NqLupbHWfA5W-8tqCpT5yjO8A4F1HcKnt_maww20,1070
|
|
27
|
+
majoplot-0.1.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|