-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plotting function working with manifest
- Loading branch information
1 parent
8a03bee
commit cd50feb
Showing
6 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
""" | ||
This corresponds to a Yokagawa AQ6373 Optical Spectrum Analyzer | ||
""" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from piel.types.core import PathTypes | ||
from piel.types.experimental.measurements.core import ( | ||
MeasurementConfiguration, | ||
Measurement, | ||
MeasurementCollection | ||
) | ||
|
||
|
||
class SpectrumMeasurementConfiguration(MeasurementConfiguration): | ||
measurement_configuration_type: str = "SpectrumMeasurementConfiguration" | ||
|
||
|
||
class SpectrumMeasurement(Measurement): | ||
""" | ||
Standard definition for a collection of files that are part of an either Electrical or Optical Spectrum measurement. | ||
""" | ||
|
||
type: str = "SpectrumMeasurement" | ||
spectrum_file: PathTypes = "" | ||
|
||
|
||
class SpectrumMeasurementCollection(MeasurementCollection): | ||
type: str = "SpectrumMeasurementCollection" | ||
collection: list[SpectrumMeasurement] = [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters