Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1f615b5
Add the DASDAE inventory model layer
d-chambers Aug 8, 2026
e534f3a
Address counterpart-review findings on the inventory model
d-chambers Aug 8, 2026
2c4e95a
Remove ResponseStage stub; Response keeps scalar fields and extra_fields
d-chambers Aug 8, 2026
c8a3f41
Store coordinates on canonical (x, y, z) axes with CRS-resolved aliases
d-chambers Aug 8, 2026
fc1595a
Normalize shareable resources into the flat pool with id references
d-chambers Aug 8, 2026
033c343
Apply internal review: fix new()/equality/replace, consolidate duplic…
d-chambers Aug 8, 2026
1916f6e
Apply counterpart review: replace depth, ref typing, equality, finite…
d-chambers Aug 8, 2026
67d05b5
Fix CI: make pyyaml optional, complete patch coverage
d-chambers Aug 8, 2026
a9dd551
Import yaml only at parse time so path errors need no optional dep
d-chambers Aug 8, 2026
efa265b
Hide the type tag from users
d-chambers Aug 9, 2026
38f803b
Trim Enclosure: drop owner, serial_number, and outer_diameter
d-chambers Aug 9, 2026
3567708
Attach notes and extra_fields uniformly via the inventory base class
d-chambers Aug 9, 2026
d8d2535
Add aerial coupling type; allow zero-length point markers
d-chambers Aug 9, 2026
ce8a40f
Interval items use absolute start_distance/end_distance
d-chambers Aug 10, 2026
1429a87
Add firmware and software versions to Acquisition
d-chambers Aug 10, 2026
cf95139
Trim Cable: drop the mechanical datasheet trio
d-chambers Aug 10, 2026
fef2dfa
Unify optical loss and reflectance with measurement provenance
d-chambers Aug 10, 2026
ac5bfde
Drop speculative __radd__; test component_intervals directly
d-chambers Aug 10, 2026
2d707b7
Default the inventory manifest id; document the update_time convention
d-chambers Aug 10, 2026
c3e4eeb
Add sample_rate to Channel
d-chambers Aug 10, 2026
ad9ef7b
CRS: per-axis units and a WKT2 definition for non-registry frames
d-chambers Aug 10, 2026
f42eb21
Replace notes with description for StationXML alignment
d-chambers Aug 10, 2026
4976c72
StationXML alignment: Network epochs, Channel orientation and depth
d-chambers Aug 10, 2026
b46f396
Add citation identifiers to Network, FiberArray, and Station
d-chambers Aug 10, 2026
2e1f0fb
Remove shadowed description field on ExternalResource
d-chambers Aug 10, 2026
c2c9e12
Merge dev (PLC0415 enabled) into inventory-spec
d-chambers Aug 10, 2026
9436f1d
Hoist function-level imports flagged by PLC0415
d-chambers Aug 10, 2026
6c1a0fe
Cover derived interval properties and unchanged-id-tuple normalization
d-chambers Aug 10, 2026
67a3a5a
Rework annotations as key/value groups and answer PR review
d-chambers Aug 10, 2026
0647a02
Fix defects found reviewing the annotation rework
d-chambers Aug 10, 2026
0721e2a
Extend finiteness to physical quantities; restore monotonic short cir…
d-chambers Aug 10, 2026
584f36c
Check inventories when they are loaded
d-chambers Aug 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dascore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from dascore.core.attrs import PatchAttrs
from dascore.core.summary import PatchSummary
from dascore.core.spool import BaseSpool, Spool, spool
from dascore.core.inventory import Inventory, inventory
from dascore.core.coordmanager import get_coord_manager, CoordManager
from dascore.core.coords import get_coord
from dascore.config import (
Expand Down
7 changes: 5 additions & 2 deletions dascore/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
Core routines and functionality for processing distributed fiber data.
"""
from __future__ import annotations

from . import inventory # noqa
from .coordmanager import CoordManager, get_coord_manager
from .coords import CoordSegmented, CoordSummary, concat_coords, get_coord
from .inventory import Inventory # noqa
from .patch import Patch # noqa
from .summary import PatchSummary # noqa
from .coords import CoordSegmented, CoordSummary, concat_coords, get_coord
from .coordmanager import get_coord_manager, CoordManager
7 changes: 2 additions & 5 deletions dascore/core/coords.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
all_close,
all_diffs_close_enough,
cached_method,
is_strictly_monotonic,
iterate,
sanitize_range_param,
)
Expand Down Expand Up @@ -2995,11 +2996,7 @@ def _maybe_get_start_stop_step(data):
return None, None, None, False
view2 = data[1:]
view1 = data[:-1]
try:
# ascending first; it is by far the more common case.
is_monotonic = np.all(view2 > view1) or np.all(view1 > view2)
except TypeError:
return None, None, None, False
is_monotonic = is_strictly_monotonic(data)
# the array cannot be evenly sampled if it isn't monotonic
if is_monotonic:
try:
Expand Down
Loading
Loading