Skip to content

Commit f63b661

Browse files
committed
datasets tweak
1 parent 177df65 commit f63b661

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

examples/PLProcessing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
parse = mw.parsers.parse
1010
plot = mw.spectra.plot_spectra
1111

12-
p = mw.datasets.PL
12+
p = datasets.PL
1313
filepath = p.parent
1414
filename = p.stem
1515

@@ -34,7 +34,6 @@
3434
if con == '1':
3535
quit()
3636

37-
3837
# Process PL data
3938
PL_ROI = roi(data, {'y': ([ROI_lower, ROI_upper], 'average')})
4039
plot(PL_ROI, channel=0, xrange=[plotx_lower, plotx_upper]) # Can add vrange=[ , ] (y axis scale)

makeitwright/datasets/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
import pathlib
22

3+
4+
__all__ = ["PL"]
5+
6+
37
PL = pathlib.Path(__file__).resolve().parent / "PL_hea_entropy_ex10sec_obj1_lowpower250um 1.asc"

0 commit comments

Comments
 (0)