Skip to content

Commit

Permalink
rename: Raw to RawData
Browse files Browse the repository at this point in the history
  • Loading branch information
jokasimr committed Oct 25, 2023
1 parent ba99207 commit 00ac8ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/essreflectometry/amor/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import scippnexus as snx

from ..logging import get_logger
from ..types import Filename, Raw, Run
from ..types import Filename, RawData, Run
from .data import get_path
from .types import BeamlineParams

Expand Down Expand Up @@ -85,7 +85,7 @@ def _load_nexus_entry(filename: Union[str, Path]) -> sc.DataGroup:
return f['entry'][()]


def load(filename: Filename[Run], beamline: BeamlineParams[Run]) -> Raw[Run]:
def load(filename: Filename[Run], beamline: BeamlineParams[Run]) -> RawData[Run]:
"""Load a single Amor data file.
Parameters
Expand Down
4 changes: 2 additions & 2 deletions src/essreflectometry/conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Histogrammed,
QBins,
QData,
Raw,
RawData,
Run,
SpecularReflectionCoordTransformGraph,
ThetaData,
Expand Down Expand Up @@ -116,7 +116,7 @@ def specular_reflection() -> SpecularReflectionCoordTransformGraph:


def tof_to_wavelength(
data_array: Raw[Run],
data_array: RawData[Run],
graph: SpecularReflectionCoordTransformGraph,
) -> WavelengthData[Run]:
"""
Expand Down
2 changes: 1 addition & 1 deletion src/essreflectometry/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Run = TypeVar('Run', Reference, Sample)


class Raw(sciline.Scope[Run, sc.DataArray], sc.DataArray):
class RawData(sciline.Scope[Run, sc.DataArray], sc.DataArray):
"""Raw data"""


Expand Down

0 comments on commit 00ac8ae

Please sign in to comment.