Skip to content
Snippets Groups Projects
Commit de90865b authored by Jeremy M Fee's avatar Jeremy M Fee Committed by Cain, Payton David
Browse files

Add SpreadsheetAbsoluteFactory to read residual spreadsheet format

parent e23915c1
No related branches found
No related tags found
No related merge requests found
......@@ -934,4 +934,5 @@
"version": "==3.1.0"
}
}
}
}
from typing import Optional
from obspy.core import UTCDateTime
from pydantic import BaseModel
from .. import pydantic_utcdatetime
from .MeasurementType import MeasurementType
class Measurement(BaseModel):
"""One angle and time measurement with optional residual.
Attributes
----------
measurement_type: type of measurement.
angle: measured angle, decimal degrees.
residual: residual at time of measurement.
time: when measurement was taken.
"""
measurement_type: MeasurementType
angle: float = 0
residual: float = 0
time: Optional[UTCDateTime] = None
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment