nominal-api 0.540.0__py3-none-any.whl → 0.541.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nominal-api might be problematic. Click here for more details.

nominal_api/__init__.py CHANGED
@@ -68,5 +68,5 @@ __all__ = [
68
68
 
69
69
  __conjure_generator_version__ = "4.9.0"
70
70
 
71
- __version__ = "0.540.0"
71
+ __version__ = "0.541.0"
72
72
 
nominal_api/_impl.py CHANGED
@@ -10726,105 +10726,6 @@ includes metrics for check and violation review status
10726
10726
  _decoder = ConjureDecoder()
10727
10727
  return _decoder.decode(_response.json(), scout_run_api_SearchRunChannelsResponse, self._return_none_for_unknown_union_types)
10728
10728
 
10729
- def get_events(self, auth_header: str, rid: str, next_page_token: Optional[str] = None) -> "scout_run_api_GetEventsForRunPage":
10730
- """
10731
- Fetches a list of events associated with the run.
10732
-
10733
- Returns a maximum page size of 1000.
10734
- """
10735
-
10736
- _headers: Dict[str, Any] = {
10737
- 'Accept': 'application/json',
10738
- 'Authorization': auth_header,
10739
- }
10740
-
10741
- _params: Dict[str, Any] = {
10742
- 'nextPageToken': next_page_token,
10743
- }
10744
-
10745
- _path_params: Dict[str, Any] = {
10746
- 'rid': rid,
10747
- }
10748
-
10749
- _json: Any = None
10750
-
10751
- _path = '/scout/v1/run/{rid}/events'
10752
- _path = _path.format(**_path_params)
10753
-
10754
- _response: Response = self._request(
10755
- 'GET',
10756
- self._uri + _path,
10757
- params=_params,
10758
- headers=_headers,
10759
- json=_json)
10760
-
10761
- _decoder = ConjureDecoder()
10762
- return _decoder.decode(_response.json(), scout_run_api_GetEventsForRunPage, self._return_none_for_unknown_union_types)
10763
-
10764
- def publish_events(self, auth_header: str, request: "scout_run_api_PublishEventsToRunRequest", rid: str) -> None:
10765
- """
10766
- Adds a set of new events to the run.
10767
- """
10768
-
10769
- _headers: Dict[str, Any] = {
10770
- 'Accept': 'application/json',
10771
- 'Content-Type': 'application/json',
10772
- 'Authorization': auth_header,
10773
- }
10774
-
10775
- _params: Dict[str, Any] = {
10776
- }
10777
-
10778
- _path_params: Dict[str, Any] = {
10779
- 'rid': rid,
10780
- }
10781
-
10782
- _json: Any = ConjureEncoder().default(request)
10783
-
10784
- _path = '/scout/v1/run/{rid}/events'
10785
- _path = _path.format(**_path_params)
10786
-
10787
- _response: Response = self._request(
10788
- 'POST',
10789
- self._uri + _path,
10790
- params=_params,
10791
- headers=_headers,
10792
- json=_json)
10793
-
10794
- return
10795
-
10796
- def delete_events_from_run(self, auth_header: str, request: "scout_run_api_DeleteEventsFromRunRequest", rid: str) -> None:
10797
- """
10798
- Deletes events from the run.
10799
- """
10800
-
10801
- _headers: Dict[str, Any] = {
10802
- 'Accept': 'application/json',
10803
- 'Content-Type': 'application/json',
10804
- 'Authorization': auth_header,
10805
- }
10806
-
10807
- _params: Dict[str, Any] = {
10808
- }
10809
-
10810
- _path_params: Dict[str, Any] = {
10811
- 'rid': rid,
10812
- }
10813
-
10814
- _json: Any = ConjureEncoder().default(request)
10815
-
10816
- _path = '/scout/v1/run/{rid}/delete-events'
10817
- _path = _path.format(**_path_params)
10818
-
10819
- _response: Response = self._request(
10820
- 'POST',
10821
- self._uri + _path,
10822
- params=_params,
10823
- headers=_headers,
10824
- json=_json)
10825
-
10826
- return
10827
-
10828
10729
  def update_run_attachment(self, auth_header: str, request: "scout_run_api_UpdateAttachmentsRequest", rid: str) -> None:
10829
10730
  """
10830
10731
  Updates the attachments associated with a run.
@@ -27603,6 +27504,64 @@ scout_compute_api_Average.__qualname__ = "Average"
27603
27504
  scout_compute_api_Average.__module__ = "nominal_api.scout_compute_api"
27604
27505
 
27605
27506
 
27507
+ class scout_compute_api_BandPassConfiguration(ConjureBeanType):
27508
+
27509
+ @builtins.classmethod
27510
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
27511
+ return {
27512
+ 'low_passband_frequency': ConjureFieldDefinition('lowPassbandFrequency', scout_compute_api_DoubleConstant),
27513
+ 'high_passband_frequency': ConjureFieldDefinition('highPassbandFrequency', scout_compute_api_DoubleConstant)
27514
+ }
27515
+
27516
+ __slots__: List[str] = ['_low_passband_frequency', '_high_passband_frequency']
27517
+
27518
+ def __init__(self, high_passband_frequency: "scout_compute_api_DoubleConstant", low_passband_frequency: "scout_compute_api_DoubleConstant") -> None:
27519
+ self._low_passband_frequency = low_passband_frequency
27520
+ self._high_passband_frequency = high_passband_frequency
27521
+
27522
+ @builtins.property
27523
+ def low_passband_frequency(self) -> "scout_compute_api_DoubleConstant":
27524
+ return self._low_passband_frequency
27525
+
27526
+ @builtins.property
27527
+ def high_passband_frequency(self) -> "scout_compute_api_DoubleConstant":
27528
+ return self._high_passband_frequency
27529
+
27530
+
27531
+ scout_compute_api_BandPassConfiguration.__name__ = "BandPassConfiguration"
27532
+ scout_compute_api_BandPassConfiguration.__qualname__ = "BandPassConfiguration"
27533
+ scout_compute_api_BandPassConfiguration.__module__ = "nominal_api.scout_compute_api"
27534
+
27535
+
27536
+ class scout_compute_api_BandStopConfiguration(ConjureBeanType):
27537
+
27538
+ @builtins.classmethod
27539
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
27540
+ return {
27541
+ 'low_stopband_frequency': ConjureFieldDefinition('lowStopbandFrequency', scout_compute_api_DoubleConstant),
27542
+ 'high_stopband_frequency': ConjureFieldDefinition('highStopbandFrequency', scout_compute_api_DoubleConstant)
27543
+ }
27544
+
27545
+ __slots__: List[str] = ['_low_stopband_frequency', '_high_stopband_frequency']
27546
+
27547
+ def __init__(self, high_stopband_frequency: "scout_compute_api_DoubleConstant", low_stopband_frequency: "scout_compute_api_DoubleConstant") -> None:
27548
+ self._low_stopband_frequency = low_stopband_frequency
27549
+ self._high_stopband_frequency = high_stopband_frequency
27550
+
27551
+ @builtins.property
27552
+ def low_stopband_frequency(self) -> "scout_compute_api_DoubleConstant":
27553
+ return self._low_stopband_frequency
27554
+
27555
+ @builtins.property
27556
+ def high_stopband_frequency(self) -> "scout_compute_api_DoubleConstant":
27557
+ return self._high_stopband_frequency
27558
+
27559
+
27560
+ scout_compute_api_BandStopConfiguration.__name__ = "BandStopConfiguration"
27561
+ scout_compute_api_BandStopConfiguration.__qualname__ = "BandStopConfiguration"
27562
+ scout_compute_api_BandStopConfiguration.__module__ = "nominal_api.scout_compute_api"
27563
+
27564
+
27606
27565
  class scout_compute_api_BatchComputeUnitResult(ConjureBeanType):
27607
27566
 
27608
27567
  @builtins.classmethod
@@ -31475,6 +31434,29 @@ scout_compute_api_GeoTimeBucket.__qualname__ = "GeoTimeBucket"
31475
31434
  scout_compute_api_GeoTimeBucket.__module__ = "nominal_api.scout_compute_api"
31476
31435
 
31477
31436
 
31437
+ class scout_compute_api_HighPassConfiguration(ConjureBeanType):
31438
+
31439
+ @builtins.classmethod
31440
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
31441
+ return {
31442
+ 'cutoff_frequency': ConjureFieldDefinition('cutoffFrequency', scout_compute_api_DoubleConstant)
31443
+ }
31444
+
31445
+ __slots__: List[str] = ['_cutoff_frequency']
31446
+
31447
+ def __init__(self, cutoff_frequency: "scout_compute_api_DoubleConstant") -> None:
31448
+ self._cutoff_frequency = cutoff_frequency
31449
+
31450
+ @builtins.property
31451
+ def cutoff_frequency(self) -> "scout_compute_api_DoubleConstant":
31452
+ return self._cutoff_frequency
31453
+
31454
+
31455
+ scout_compute_api_HighPassConfiguration.__name__ = "HighPassConfiguration"
31456
+ scout_compute_api_HighPassConfiguration.__qualname__ = "HighPassConfiguration"
31457
+ scout_compute_api_HighPassConfiguration.__module__ = "nominal_api.scout_compute_api"
31458
+
31459
+
31478
31460
  class scout_compute_api_Histogram(ConjureUnionType):
31479
31461
  _numeric: Optional["scout_compute_api_NumericHistogramNode"] = None
31480
31462
  _enum: Optional["scout_compute_api_EnumHistogramNode"] = None
@@ -32502,6 +32484,29 @@ scout_compute_api_LogValueFilterSeriesVisitor.__qualname__ = "LogValueFilterSeri
32502
32484
  scout_compute_api_LogValueFilterSeriesVisitor.__module__ = "nominal_api.scout_compute_api"
32503
32485
 
32504
32486
 
32487
+ class scout_compute_api_LowPassConfiguration(ConjureBeanType):
32488
+
32489
+ @builtins.classmethod
32490
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
32491
+ return {
32492
+ 'cutoff_frequency': ConjureFieldDefinition('cutoffFrequency', scout_compute_api_DoubleConstant)
32493
+ }
32494
+
32495
+ __slots__: List[str] = ['_cutoff_frequency']
32496
+
32497
+ def __init__(self, cutoff_frequency: "scout_compute_api_DoubleConstant") -> None:
32498
+ self._cutoff_frequency = cutoff_frequency
32499
+
32500
+ @builtins.property
32501
+ def cutoff_frequency(self) -> "scout_compute_api_DoubleConstant":
32502
+ return self._cutoff_frequency
32503
+
32504
+
32505
+ scout_compute_api_LowPassConfiguration.__name__ = "LowPassConfiguration"
32506
+ scout_compute_api_LowPassConfiguration.__qualname__ = "LowPassConfiguration"
32507
+ scout_compute_api_LowPassConfiguration.__module__ = "nominal_api.scout_compute_api"
32508
+
32509
+
32505
32510
  class scout_compute_api_MaxSeries(ConjureBeanType):
32506
32511
  """
32507
32512
  For every timestamp specified in the input series, outputs a value that is the maximum for that timestamp
@@ -33312,6 +33317,7 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
33312
33317
  _channel: Optional["scout_compute_api_ChannelSeries"] = None
33313
33318
  _resample: Optional["scout_compute_api_NumericResampleSeries"] = None
33314
33319
  _rolling_operation: Optional["scout_compute_api_RollingOperationSeries"] = None
33320
+ _signal_filter: Optional["scout_compute_api_SignalFilterSeries"] = None
33315
33321
  _sum: Optional["scout_compute_api_SumSeries"] = None
33316
33322
  _scale: Optional["scout_compute_api_ScaleSeries"] = None
33317
33323
  _time_difference: Optional["scout_compute_api_TimeDifferenceSeries"] = None
@@ -33344,6 +33350,7 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
33344
33350
  'channel': ConjureFieldDefinition('channel', scout_compute_api_ChannelSeries),
33345
33351
  'resample': ConjureFieldDefinition('resample', scout_compute_api_NumericResampleSeries),
33346
33352
  'rolling_operation': ConjureFieldDefinition('rollingOperation', scout_compute_api_RollingOperationSeries),
33353
+ 'signal_filter': ConjureFieldDefinition('signalFilter', scout_compute_api_SignalFilterSeries),
33347
33354
  'sum': ConjureFieldDefinition('sum', scout_compute_api_SumSeries),
33348
33355
  'scale': ConjureFieldDefinition('scale', scout_compute_api_ScaleSeries),
33349
33356
  'time_difference': ConjureFieldDefinition('timeDifference', scout_compute_api_TimeDifferenceSeries),
@@ -33376,6 +33383,7 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
33376
33383
  channel: Optional["scout_compute_api_ChannelSeries"] = None,
33377
33384
  resample: Optional["scout_compute_api_NumericResampleSeries"] = None,
33378
33385
  rolling_operation: Optional["scout_compute_api_RollingOperationSeries"] = None,
33386
+ signal_filter: Optional["scout_compute_api_SignalFilterSeries"] = None,
33379
33387
  sum: Optional["scout_compute_api_SumSeries"] = None,
33380
33388
  scale: Optional["scout_compute_api_ScaleSeries"] = None,
33381
33389
  time_difference: Optional["scout_compute_api_TimeDifferenceSeries"] = None,
@@ -33391,7 +33399,7 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
33391
33399
  type_of_union: Optional[str] = None
33392
33400
  ) -> None:
33393
33401
  if type_of_union is None:
33394
- if (aggregate is not None) + (arithmetic is not None) + (bit_operation is not None) + (cumulative_sum is not None) + (derivative is not None) + (function is not None) + (integral is not None) + (max is not None) + (mean is not None) + (min is not None) + (offset is not None) + (product is not None) + (raw is not None) + (channel is not None) + (resample is not None) + (rolling_operation is not None) + (sum is not None) + (scale is not None) + (time_difference is not None) + (time_range_filter is not None) + (time_shift is not None) + (unary_arithmetic is not None) + (binary_arithmetic is not None) + (union is not None) + (unit_conversion is not None) + (value_difference is not None) + (filter_transformation is not None) + (threshold_filter is not None) != 1:
33402
+ if (aggregate is not None) + (arithmetic is not None) + (bit_operation is not None) + (cumulative_sum is not None) + (derivative is not None) + (function is not None) + (integral is not None) + (max is not None) + (mean is not None) + (min is not None) + (offset is not None) + (product is not None) + (raw is not None) + (channel is not None) + (resample is not None) + (rolling_operation is not None) + (signal_filter is not None) + (sum is not None) + (scale is not None) + (time_difference is not None) + (time_range_filter is not None) + (time_shift is not None) + (unary_arithmetic is not None) + (binary_arithmetic is not None) + (union is not None) + (unit_conversion is not None) + (value_difference is not None) + (filter_transformation is not None) + (threshold_filter is not None) != 1:
33395
33403
  raise ValueError('a union must contain a single member')
33396
33404
 
33397
33405
  if aggregate is not None:
@@ -33442,6 +33450,9 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
33442
33450
  if rolling_operation is not None:
33443
33451
  self._rolling_operation = rolling_operation
33444
33452
  self._type = 'rollingOperation'
33453
+ if signal_filter is not None:
33454
+ self._signal_filter = signal_filter
33455
+ self._type = 'signalFilter'
33445
33456
  if sum is not None:
33446
33457
  self._sum = sum
33447
33458
  self._type = 'sum'
@@ -33559,6 +33570,11 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
33559
33570
  raise ValueError('a union value must not be None')
33560
33571
  self._rolling_operation = rolling_operation
33561
33572
  self._type = 'rollingOperation'
33573
+ elif type_of_union == 'signalFilter':
33574
+ if signal_filter is None:
33575
+ raise ValueError('a union value must not be None')
33576
+ self._signal_filter = signal_filter
33577
+ self._type = 'signalFilter'
33562
33578
  elif type_of_union == 'sum':
33563
33579
  if sum is None:
33564
33580
  raise ValueError('a union value must not be None')
@@ -33684,6 +33700,10 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
33684
33700
  def rolling_operation(self) -> Optional["scout_compute_api_RollingOperationSeries"]:
33685
33701
  return self._rolling_operation
33686
33702
 
33703
+ @builtins.property
33704
+ def signal_filter(self) -> Optional["scout_compute_api_SignalFilterSeries"]:
33705
+ return self._signal_filter
33706
+
33687
33707
  @builtins.property
33688
33708
  def sum(self) -> Optional["scout_compute_api_SumSeries"]:
33689
33709
  return self._sum
@@ -33767,6 +33787,8 @@ class scout_compute_api_NumericSeries(ConjureUnionType):
33767
33787
  return visitor._resample(self.resample)
33768
33788
  if self._type == 'rollingOperation' and self.rolling_operation is not None:
33769
33789
  return visitor._rolling_operation(self.rolling_operation)
33790
+ if self._type == 'signalFilter' and self.signal_filter is not None:
33791
+ return visitor._signal_filter(self.signal_filter)
33770
33792
  if self._type == 'sum' and self.sum is not None:
33771
33793
  return visitor._sum(self.sum)
33772
33794
  if self._type == 'scale' and self.scale is not None:
@@ -33864,6 +33886,10 @@ class scout_compute_api_NumericSeriesVisitor:
33864
33886
  def _rolling_operation(self, rolling_operation: "scout_compute_api_RollingOperationSeries") -> Any:
33865
33887
  pass
33866
33888
 
33889
+ @abstractmethod
33890
+ def _signal_filter(self, signal_filter: "scout_compute_api_SignalFilterSeries") -> Any:
33891
+ pass
33892
+
33867
33893
  @abstractmethod
33868
33894
  def _sum(self, sum: "scout_compute_api_SumSeries") -> Any:
33869
33895
  pass
@@ -36226,6 +36252,180 @@ scout_compute_api_SetNegativeValuesToZero.__qualname__ = "SetNegativeValuesToZer
36226
36252
  scout_compute_api_SetNegativeValuesToZero.__module__ = "nominal_api.scout_compute_api"
36227
36253
 
36228
36254
 
36255
+ class scout_compute_api_SignalFilterConfiguration(ConjureUnionType):
36256
+ _low_pass: Optional["scout_compute_api_LowPassConfiguration"] = None
36257
+ _high_pass: Optional["scout_compute_api_HighPassConfiguration"] = None
36258
+ _band_pass: Optional["scout_compute_api_BandPassConfiguration"] = None
36259
+ _band_stop: Optional["scout_compute_api_BandStopConfiguration"] = None
36260
+
36261
+ @builtins.classmethod
36262
+ def _options(cls) -> Dict[str, ConjureFieldDefinition]:
36263
+ return {
36264
+ 'low_pass': ConjureFieldDefinition('lowPass', scout_compute_api_LowPassConfiguration),
36265
+ 'high_pass': ConjureFieldDefinition('highPass', scout_compute_api_HighPassConfiguration),
36266
+ 'band_pass': ConjureFieldDefinition('bandPass', scout_compute_api_BandPassConfiguration),
36267
+ 'band_stop': ConjureFieldDefinition('bandStop', scout_compute_api_BandStopConfiguration)
36268
+ }
36269
+
36270
+ def __init__(
36271
+ self,
36272
+ low_pass: Optional["scout_compute_api_LowPassConfiguration"] = None,
36273
+ high_pass: Optional["scout_compute_api_HighPassConfiguration"] = None,
36274
+ band_pass: Optional["scout_compute_api_BandPassConfiguration"] = None,
36275
+ band_stop: Optional["scout_compute_api_BandStopConfiguration"] = None,
36276
+ type_of_union: Optional[str] = None
36277
+ ) -> None:
36278
+ if type_of_union is None:
36279
+ if (low_pass is not None) + (high_pass is not None) + (band_pass is not None) + (band_stop is not None) != 1:
36280
+ raise ValueError('a union must contain a single member')
36281
+
36282
+ if low_pass is not None:
36283
+ self._low_pass = low_pass
36284
+ self._type = 'lowPass'
36285
+ if high_pass is not None:
36286
+ self._high_pass = high_pass
36287
+ self._type = 'highPass'
36288
+ if band_pass is not None:
36289
+ self._band_pass = band_pass
36290
+ self._type = 'bandPass'
36291
+ if band_stop is not None:
36292
+ self._band_stop = band_stop
36293
+ self._type = 'bandStop'
36294
+
36295
+ elif type_of_union == 'lowPass':
36296
+ if low_pass is None:
36297
+ raise ValueError('a union value must not be None')
36298
+ self._low_pass = low_pass
36299
+ self._type = 'lowPass'
36300
+ elif type_of_union == 'highPass':
36301
+ if high_pass is None:
36302
+ raise ValueError('a union value must not be None')
36303
+ self._high_pass = high_pass
36304
+ self._type = 'highPass'
36305
+ elif type_of_union == 'bandPass':
36306
+ if band_pass is None:
36307
+ raise ValueError('a union value must not be None')
36308
+ self._band_pass = band_pass
36309
+ self._type = 'bandPass'
36310
+ elif type_of_union == 'bandStop':
36311
+ if band_stop is None:
36312
+ raise ValueError('a union value must not be None')
36313
+ self._band_stop = band_stop
36314
+ self._type = 'bandStop'
36315
+
36316
+ @builtins.property
36317
+ def low_pass(self) -> Optional["scout_compute_api_LowPassConfiguration"]:
36318
+ return self._low_pass
36319
+
36320
+ @builtins.property
36321
+ def high_pass(self) -> Optional["scout_compute_api_HighPassConfiguration"]:
36322
+ return self._high_pass
36323
+
36324
+ @builtins.property
36325
+ def band_pass(self) -> Optional["scout_compute_api_BandPassConfiguration"]:
36326
+ return self._band_pass
36327
+
36328
+ @builtins.property
36329
+ def band_stop(self) -> Optional["scout_compute_api_BandStopConfiguration"]:
36330
+ return self._band_stop
36331
+
36332
+ def accept(self, visitor) -> Any:
36333
+ if not isinstance(visitor, scout_compute_api_SignalFilterConfigurationVisitor):
36334
+ raise ValueError('{} is not an instance of scout_compute_api_SignalFilterConfigurationVisitor'.format(visitor.__class__.__name__))
36335
+ if self._type == 'lowPass' and self.low_pass is not None:
36336
+ return visitor._low_pass(self.low_pass)
36337
+ if self._type == 'highPass' and self.high_pass is not None:
36338
+ return visitor._high_pass(self.high_pass)
36339
+ if self._type == 'bandPass' and self.band_pass is not None:
36340
+ return visitor._band_pass(self.band_pass)
36341
+ if self._type == 'bandStop' and self.band_stop is not None:
36342
+ return visitor._band_stop(self.band_stop)
36343
+
36344
+
36345
+ scout_compute_api_SignalFilterConfiguration.__name__ = "SignalFilterConfiguration"
36346
+ scout_compute_api_SignalFilterConfiguration.__qualname__ = "SignalFilterConfiguration"
36347
+ scout_compute_api_SignalFilterConfiguration.__module__ = "nominal_api.scout_compute_api"
36348
+
36349
+
36350
+ class scout_compute_api_SignalFilterConfigurationVisitor:
36351
+
36352
+ @abstractmethod
36353
+ def _low_pass(self, low_pass: "scout_compute_api_LowPassConfiguration") -> Any:
36354
+ pass
36355
+
36356
+ @abstractmethod
36357
+ def _high_pass(self, high_pass: "scout_compute_api_HighPassConfiguration") -> Any:
36358
+ pass
36359
+
36360
+ @abstractmethod
36361
+ def _band_pass(self, band_pass: "scout_compute_api_BandPassConfiguration") -> Any:
36362
+ pass
36363
+
36364
+ @abstractmethod
36365
+ def _band_stop(self, band_stop: "scout_compute_api_BandStopConfiguration") -> Any:
36366
+ pass
36367
+
36368
+
36369
+ scout_compute_api_SignalFilterConfigurationVisitor.__name__ = "SignalFilterConfigurationVisitor"
36370
+ scout_compute_api_SignalFilterConfigurationVisitor.__qualname__ = "SignalFilterConfigurationVisitor"
36371
+ scout_compute_api_SignalFilterConfigurationVisitor.__module__ = "nominal_api.scout_compute_api"
36372
+
36373
+
36374
+ class scout_compute_api_SignalFilterSeries(ConjureBeanType):
36375
+ """
36376
+ Applies IIR-based signal filtering to input series. Includes low-pass, high-pass, band-pass, and band-stop
36377
+ filters. Currently supports variable-order bidirectional Butterworth filters, with fixed-size padding based
36378
+ on SciPy output.
36379
+ """
36380
+
36381
+ @builtins.classmethod
36382
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
36383
+ return {
36384
+ 'input': ConjureFieldDefinition('input', scout_compute_api_NumericSeries),
36385
+ 'signal_filter_configuration': ConjureFieldDefinition('signalFilterConfiguration', scout_compute_api_SignalFilterConfiguration),
36386
+ 'order': ConjureFieldDefinition('order', scout_compute_api_IntegerConstant),
36387
+ 'sampling_frequency': ConjureFieldDefinition('samplingFrequency', OptionalTypeWrapper[scout_compute_api_DoubleConstant])
36388
+ }
36389
+
36390
+ __slots__: List[str] = ['_input', '_signal_filter_configuration', '_order', '_sampling_frequency']
36391
+
36392
+ def __init__(self, input: "scout_compute_api_NumericSeries", order: "scout_compute_api_IntegerConstant", signal_filter_configuration: "scout_compute_api_SignalFilterConfiguration", sampling_frequency: Optional["scout_compute_api_DoubleConstant"] = None) -> None:
36393
+ self._input = input
36394
+ self._signal_filter_configuration = signal_filter_configuration
36395
+ self._order = order
36396
+ self._sampling_frequency = sampling_frequency
36397
+
36398
+ @builtins.property
36399
+ def input(self) -> "scout_compute_api_NumericSeries":
36400
+ return self._input
36401
+
36402
+ @builtins.property
36403
+ def signal_filter_configuration(self) -> "scout_compute_api_SignalFilterConfiguration":
36404
+ """
36405
+ Filter type and cutoff frequencies.
36406
+ """
36407
+ return self._signal_filter_configuration
36408
+
36409
+ @builtins.property
36410
+ def order(self) -> "scout_compute_api_IntegerConstant":
36411
+ """
36412
+ Order of filter. Must be a positive integer, and is effectively doubled for bidirectional filters.
36413
+ """
36414
+ return self._order
36415
+
36416
+ @builtins.property
36417
+ def sampling_frequency(self) -> Optional["scout_compute_api_DoubleConstant"]:
36418
+ """
36419
+ The sampling frequency of the input series. Used to calculate normalized frequency for cutoff frequencies.
36420
+ """
36421
+ return self._sampling_frequency
36422
+
36423
+
36424
+ scout_compute_api_SignalFilterSeries.__name__ = "SignalFilterSeries"
36425
+ scout_compute_api_SignalFilterSeries.__qualname__ = "SignalFilterSeries"
36426
+ scout_compute_api_SignalFilterSeries.__module__ = "nominal_api.scout_compute_api"
36427
+
36428
+
36229
36429
  class scout_compute_api_StabilityDetectionRanges(ConjureBeanType):
36230
36430
  """
36231
36431
  Outputs a set of ranges where the input series is stable. For each point, the min and max are calculated over
@@ -40681,6 +40881,64 @@ scout_compute_resolved_api_ArithmeticSeriesNode.__qualname__ = "ArithmeticSeries
40681
40881
  scout_compute_resolved_api_ArithmeticSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
40682
40882
 
40683
40883
 
40884
+ class scout_compute_resolved_api_BandPassConfiguration(ConjureBeanType):
40885
+
40886
+ @builtins.classmethod
40887
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
40888
+ return {
40889
+ 'low_passband_frequency': ConjureFieldDefinition('lowPassbandFrequency', float),
40890
+ 'high_passband_frequency': ConjureFieldDefinition('highPassbandFrequency', float)
40891
+ }
40892
+
40893
+ __slots__: List[str] = ['_low_passband_frequency', '_high_passband_frequency']
40894
+
40895
+ def __init__(self, high_passband_frequency: float, low_passband_frequency: float) -> None:
40896
+ self._low_passband_frequency = low_passband_frequency
40897
+ self._high_passband_frequency = high_passband_frequency
40898
+
40899
+ @builtins.property
40900
+ def low_passband_frequency(self) -> float:
40901
+ return self._low_passband_frequency
40902
+
40903
+ @builtins.property
40904
+ def high_passband_frequency(self) -> float:
40905
+ return self._high_passband_frequency
40906
+
40907
+
40908
+ scout_compute_resolved_api_BandPassConfiguration.__name__ = "BandPassConfiguration"
40909
+ scout_compute_resolved_api_BandPassConfiguration.__qualname__ = "BandPassConfiguration"
40910
+ scout_compute_resolved_api_BandPassConfiguration.__module__ = "nominal_api.scout_compute_resolved_api"
40911
+
40912
+
40913
+ class scout_compute_resolved_api_BandStopConfiguration(ConjureBeanType):
40914
+
40915
+ @builtins.classmethod
40916
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
40917
+ return {
40918
+ 'low_stopband_frequency': ConjureFieldDefinition('lowStopbandFrequency', float),
40919
+ 'high_stopband_frequency': ConjureFieldDefinition('highStopbandFrequency', float)
40920
+ }
40921
+
40922
+ __slots__: List[str] = ['_low_stopband_frequency', '_high_stopband_frequency']
40923
+
40924
+ def __init__(self, high_stopband_frequency: float, low_stopband_frequency: float) -> None:
40925
+ self._low_stopband_frequency = low_stopband_frequency
40926
+ self._high_stopband_frequency = high_stopband_frequency
40927
+
40928
+ @builtins.property
40929
+ def low_stopband_frequency(self) -> float:
40930
+ return self._low_stopband_frequency
40931
+
40932
+ @builtins.property
40933
+ def high_stopband_frequency(self) -> float:
40934
+ return self._high_stopband_frequency
40935
+
40936
+
40937
+ scout_compute_resolved_api_BandStopConfiguration.__name__ = "BandStopConfiguration"
40938
+ scout_compute_resolved_api_BandStopConfiguration.__qualname__ = "BandStopConfiguration"
40939
+ scout_compute_resolved_api_BandStopConfiguration.__module__ = "nominal_api.scout_compute_resolved_api"
40940
+
40941
+
40684
40942
  class scout_compute_resolved_api_BinaryArithmeticSeriesNode(ConjureBeanType):
40685
40943
 
40686
40944
  @builtins.classmethod
@@ -41644,6 +41902,29 @@ scout_compute_resolved_api_GeoNodeTemporalSummary.__qualname__ = "GeoNodeTempora
41644
41902
  scout_compute_resolved_api_GeoNodeTemporalSummary.__module__ = "nominal_api.scout_compute_resolved_api"
41645
41903
 
41646
41904
 
41905
+ class scout_compute_resolved_api_HighPassConfiguration(ConjureBeanType):
41906
+
41907
+ @builtins.classmethod
41908
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
41909
+ return {
41910
+ 'cutoff_frequency': ConjureFieldDefinition('cutoffFrequency', float)
41911
+ }
41912
+
41913
+ __slots__: List[str] = ['_cutoff_frequency']
41914
+
41915
+ def __init__(self, cutoff_frequency: float) -> None:
41916
+ self._cutoff_frequency = cutoff_frequency
41917
+
41918
+ @builtins.property
41919
+ def cutoff_frequency(self) -> float:
41920
+ return self._cutoff_frequency
41921
+
41922
+
41923
+ scout_compute_resolved_api_HighPassConfiguration.__name__ = "HighPassConfiguration"
41924
+ scout_compute_resolved_api_HighPassConfiguration.__qualname__ = "HighPassConfiguration"
41925
+ scout_compute_resolved_api_HighPassConfiguration.__module__ = "nominal_api.scout_compute_resolved_api"
41926
+
41927
+
41647
41928
  class scout_compute_resolved_api_HistogramNode(ConjureUnionType):
41648
41929
  _numeric_histogram: Optional["scout_compute_resolved_api_NumericHistogramNode"] = None
41649
41930
  _enum_histogram: Optional["scout_compute_resolved_api_EnumHistogramNode"] = None
@@ -41899,6 +42180,29 @@ scout_compute_resolved_api_LatLongGeoNode.__qualname__ = "LatLongGeoNode"
41899
42180
  scout_compute_resolved_api_LatLongGeoNode.__module__ = "nominal_api.scout_compute_resolved_api"
41900
42181
 
41901
42182
 
42183
+ class scout_compute_resolved_api_LowPassConfiguration(ConjureBeanType):
42184
+
42185
+ @builtins.classmethod
42186
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
42187
+ return {
42188
+ 'cutoff_frequency': ConjureFieldDefinition('cutoffFrequency', float)
42189
+ }
42190
+
42191
+ __slots__: List[str] = ['_cutoff_frequency']
42192
+
42193
+ def __init__(self, cutoff_frequency: float) -> None:
42194
+ self._cutoff_frequency = cutoff_frequency
42195
+
42196
+ @builtins.property
42197
+ def cutoff_frequency(self) -> float:
42198
+ return self._cutoff_frequency
42199
+
42200
+
42201
+ scout_compute_resolved_api_LowPassConfiguration.__name__ = "LowPassConfiguration"
42202
+ scout_compute_resolved_api_LowPassConfiguration.__qualname__ = "LowPassConfiguration"
42203
+ scout_compute_resolved_api_LowPassConfiguration.__module__ = "nominal_api.scout_compute_resolved_api"
42204
+
42205
+
41902
42206
  class scout_compute_resolved_api_MaxSeriesNode(ConjureBeanType):
41903
42207
 
41904
42208
  @builtins.classmethod
@@ -42267,6 +42571,7 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
42267
42571
  _resample: Optional["scout_compute_resolved_api_NumericResampleSeriesNode"] = None
42268
42572
  _rolling_operation: Optional["scout_compute_resolved_api_RollingOperationSeriesNode"] = None
42269
42573
  _aggregate: Optional["scout_compute_resolved_api_AggregateNumericSeriesNode"] = None
42574
+ _signal_filter: Optional["scout_compute_resolved_api_SignalFilterSeriesNode"] = None
42270
42575
  _sum: Optional["scout_compute_resolved_api_SumSeriesNode"] = None
42271
42576
  _scale: Optional["scout_compute_resolved_api_ScaleSeriesNode"] = None
42272
42577
  _time_difference: Optional["scout_compute_resolved_api_TimeDifferenceSeriesNode"] = None
@@ -42296,6 +42601,7 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
42296
42601
  'resample': ConjureFieldDefinition('resample', scout_compute_resolved_api_NumericResampleSeriesNode),
42297
42602
  'rolling_operation': ConjureFieldDefinition('rollingOperation', scout_compute_resolved_api_RollingOperationSeriesNode),
42298
42603
  'aggregate': ConjureFieldDefinition('aggregate', scout_compute_resolved_api_AggregateNumericSeriesNode),
42604
+ 'signal_filter': ConjureFieldDefinition('signalFilter', scout_compute_resolved_api_SignalFilterSeriesNode),
42299
42605
  'sum': ConjureFieldDefinition('sum', scout_compute_resolved_api_SumSeriesNode),
42300
42606
  'scale': ConjureFieldDefinition('scale', scout_compute_resolved_api_ScaleSeriesNode),
42301
42607
  'time_difference': ConjureFieldDefinition('timeDifference', scout_compute_resolved_api_TimeDifferenceSeriesNode),
@@ -42325,6 +42631,7 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
42325
42631
  resample: Optional["scout_compute_resolved_api_NumericResampleSeriesNode"] = None,
42326
42632
  rolling_operation: Optional["scout_compute_resolved_api_RollingOperationSeriesNode"] = None,
42327
42633
  aggregate: Optional["scout_compute_resolved_api_AggregateNumericSeriesNode"] = None,
42634
+ signal_filter: Optional["scout_compute_resolved_api_SignalFilterSeriesNode"] = None,
42328
42635
  sum: Optional["scout_compute_resolved_api_SumSeriesNode"] = None,
42329
42636
  scale: Optional["scout_compute_resolved_api_ScaleSeriesNode"] = None,
42330
42637
  time_difference: Optional["scout_compute_resolved_api_TimeDifferenceSeriesNode"] = None,
@@ -42339,7 +42646,7 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
42339
42646
  type_of_union: Optional[str] = None
42340
42647
  ) -> None:
42341
42648
  if type_of_union is None:
42342
- if (arithmetic is not None) + (bit_operation is not None) + (cumulative_sum is not None) + (derivative is not None) + (integral is not None) + (max is not None) + (mean is not None) + (min is not None) + (offset is not None) + (product is not None) + (raw is not None) + (resample is not None) + (rolling_operation is not None) + (aggregate is not None) + (sum is not None) + (scale is not None) + (time_difference is not None) + (time_range_filter is not None) + (time_shift is not None) + (unary_arithmetic is not None) + (binary_arithmetic is not None) + (union is not None) + (unit_conversion is not None) + (value_difference is not None) + (filter_transformation is not None) != 1:
42649
+ if (arithmetic is not None) + (bit_operation is not None) + (cumulative_sum is not None) + (derivative is not None) + (integral is not None) + (max is not None) + (mean is not None) + (min is not None) + (offset is not None) + (product is not None) + (raw is not None) + (resample is not None) + (rolling_operation is not None) + (aggregate is not None) + (signal_filter is not None) + (sum is not None) + (scale is not None) + (time_difference is not None) + (time_range_filter is not None) + (time_shift is not None) + (unary_arithmetic is not None) + (binary_arithmetic is not None) + (union is not None) + (unit_conversion is not None) + (value_difference is not None) + (filter_transformation is not None) != 1:
42343
42650
  raise ValueError('a union must contain a single member')
42344
42651
 
42345
42652
  if arithmetic is not None:
@@ -42384,6 +42691,9 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
42384
42691
  if aggregate is not None:
42385
42692
  self._aggregate = aggregate
42386
42693
  self._type = 'aggregate'
42694
+ if signal_filter is not None:
42695
+ self._signal_filter = signal_filter
42696
+ self._type = 'signalFilter'
42387
42697
  if sum is not None:
42388
42698
  self._sum = sum
42389
42699
  self._type = 'sum'
@@ -42488,6 +42798,11 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
42488
42798
  raise ValueError('a union value must not be None')
42489
42799
  self._aggregate = aggregate
42490
42800
  self._type = 'aggregate'
42801
+ elif type_of_union == 'signalFilter':
42802
+ if signal_filter is None:
42803
+ raise ValueError('a union value must not be None')
42804
+ self._signal_filter = signal_filter
42805
+ self._type = 'signalFilter'
42491
42806
  elif type_of_union == 'sum':
42492
42807
  if sum is None:
42493
42808
  raise ValueError('a union value must not be None')
@@ -42600,6 +42915,10 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
42600
42915
  def aggregate(self) -> Optional["scout_compute_resolved_api_AggregateNumericSeriesNode"]:
42601
42916
  return self._aggregate
42602
42917
 
42918
+ @builtins.property
42919
+ def signal_filter(self) -> Optional["scout_compute_resolved_api_SignalFilterSeriesNode"]:
42920
+ return self._signal_filter
42921
+
42603
42922
  @builtins.property
42604
42923
  def sum(self) -> Optional["scout_compute_resolved_api_SumSeriesNode"]:
42605
42924
  return self._sum
@@ -42675,6 +42994,8 @@ class scout_compute_resolved_api_NumericSeriesNode(ConjureUnionType):
42675
42994
  return visitor._rolling_operation(self.rolling_operation)
42676
42995
  if self._type == 'aggregate' and self.aggregate is not None:
42677
42996
  return visitor._aggregate(self.aggregate)
42997
+ if self._type == 'signalFilter' and self.signal_filter is not None:
42998
+ return visitor._signal_filter(self.signal_filter)
42678
42999
  if self._type == 'sum' and self.sum is not None:
42679
43000
  return visitor._sum(self.sum)
42680
43001
  if self._type == 'scale' and self.scale is not None:
@@ -42762,6 +43083,10 @@ class scout_compute_resolved_api_NumericSeriesNodeVisitor:
42762
43083
  def _aggregate(self, aggregate: "scout_compute_resolved_api_AggregateNumericSeriesNode") -> Any:
42763
43084
  pass
42764
43085
 
43086
+ @abstractmethod
43087
+ def _signal_filter(self, signal_filter: "scout_compute_resolved_api_SignalFilterSeriesNode") -> Any:
43088
+ pass
43089
+
42765
43090
  @abstractmethod
42766
43091
  def _sum(self, sum: "scout_compute_resolved_api_SumSeriesNode") -> Any:
42767
43092
  pass
@@ -44047,6 +44372,181 @@ scout_compute_resolved_api_SeriesNodeVisitor.__qualname__ = "SeriesNodeVisitor"
44047
44372
  scout_compute_resolved_api_SeriesNodeVisitor.__module__ = "nominal_api.scout_compute_resolved_api"
44048
44373
 
44049
44374
 
44375
+ class scout_compute_resolved_api_SignalFilterConfiguration(ConjureUnionType):
44376
+ _low_pass: Optional["scout_compute_resolved_api_LowPassConfiguration"] = None
44377
+ _high_pass: Optional["scout_compute_resolved_api_HighPassConfiguration"] = None
44378
+ _band_pass: Optional["scout_compute_resolved_api_BandPassConfiguration"] = None
44379
+ _band_stop: Optional["scout_compute_resolved_api_BandStopConfiguration"] = None
44380
+
44381
+ @builtins.classmethod
44382
+ def _options(cls) -> Dict[str, ConjureFieldDefinition]:
44383
+ return {
44384
+ 'low_pass': ConjureFieldDefinition('lowPass', scout_compute_resolved_api_LowPassConfiguration),
44385
+ 'high_pass': ConjureFieldDefinition('highPass', scout_compute_resolved_api_HighPassConfiguration),
44386
+ 'band_pass': ConjureFieldDefinition('bandPass', scout_compute_resolved_api_BandPassConfiguration),
44387
+ 'band_stop': ConjureFieldDefinition('bandStop', scout_compute_resolved_api_BandStopConfiguration)
44388
+ }
44389
+
44390
+ def __init__(
44391
+ self,
44392
+ low_pass: Optional["scout_compute_resolved_api_LowPassConfiguration"] = None,
44393
+ high_pass: Optional["scout_compute_resolved_api_HighPassConfiguration"] = None,
44394
+ band_pass: Optional["scout_compute_resolved_api_BandPassConfiguration"] = None,
44395
+ band_stop: Optional["scout_compute_resolved_api_BandStopConfiguration"] = None,
44396
+ type_of_union: Optional[str] = None
44397
+ ) -> None:
44398
+ if type_of_union is None:
44399
+ if (low_pass is not None) + (high_pass is not None) + (band_pass is not None) + (band_stop is not None) != 1:
44400
+ raise ValueError('a union must contain a single member')
44401
+
44402
+ if low_pass is not None:
44403
+ self._low_pass = low_pass
44404
+ self._type = 'lowPass'
44405
+ if high_pass is not None:
44406
+ self._high_pass = high_pass
44407
+ self._type = 'highPass'
44408
+ if band_pass is not None:
44409
+ self._band_pass = band_pass
44410
+ self._type = 'bandPass'
44411
+ if band_stop is not None:
44412
+ self._band_stop = band_stop
44413
+ self._type = 'bandStop'
44414
+
44415
+ elif type_of_union == 'lowPass':
44416
+ if low_pass is None:
44417
+ raise ValueError('a union value must not be None')
44418
+ self._low_pass = low_pass
44419
+ self._type = 'lowPass'
44420
+ elif type_of_union == 'highPass':
44421
+ if high_pass is None:
44422
+ raise ValueError('a union value must not be None')
44423
+ self._high_pass = high_pass
44424
+ self._type = 'highPass'
44425
+ elif type_of_union == 'bandPass':
44426
+ if band_pass is None:
44427
+ raise ValueError('a union value must not be None')
44428
+ self._band_pass = band_pass
44429
+ self._type = 'bandPass'
44430
+ elif type_of_union == 'bandStop':
44431
+ if band_stop is None:
44432
+ raise ValueError('a union value must not be None')
44433
+ self._band_stop = band_stop
44434
+ self._type = 'bandStop'
44435
+
44436
+ @builtins.property
44437
+ def low_pass(self) -> Optional["scout_compute_resolved_api_LowPassConfiguration"]:
44438
+ return self._low_pass
44439
+
44440
+ @builtins.property
44441
+ def high_pass(self) -> Optional["scout_compute_resolved_api_HighPassConfiguration"]:
44442
+ return self._high_pass
44443
+
44444
+ @builtins.property
44445
+ def band_pass(self) -> Optional["scout_compute_resolved_api_BandPassConfiguration"]:
44446
+ return self._band_pass
44447
+
44448
+ @builtins.property
44449
+ def band_stop(self) -> Optional["scout_compute_resolved_api_BandStopConfiguration"]:
44450
+ return self._band_stop
44451
+
44452
+ def accept(self, visitor) -> Any:
44453
+ if not isinstance(visitor, scout_compute_resolved_api_SignalFilterConfigurationVisitor):
44454
+ raise ValueError('{} is not an instance of scout_compute_resolved_api_SignalFilterConfigurationVisitor'.format(visitor.__class__.__name__))
44455
+ if self._type == 'lowPass' and self.low_pass is not None:
44456
+ return visitor._low_pass(self.low_pass)
44457
+ if self._type == 'highPass' and self.high_pass is not None:
44458
+ return visitor._high_pass(self.high_pass)
44459
+ if self._type == 'bandPass' and self.band_pass is not None:
44460
+ return visitor._band_pass(self.band_pass)
44461
+ if self._type == 'bandStop' and self.band_stop is not None:
44462
+ return visitor._band_stop(self.band_stop)
44463
+
44464
+
44465
+ scout_compute_resolved_api_SignalFilterConfiguration.__name__ = "SignalFilterConfiguration"
44466
+ scout_compute_resolved_api_SignalFilterConfiguration.__qualname__ = "SignalFilterConfiguration"
44467
+ scout_compute_resolved_api_SignalFilterConfiguration.__module__ = "nominal_api.scout_compute_resolved_api"
44468
+
44469
+
44470
+ class scout_compute_resolved_api_SignalFilterConfigurationVisitor:
44471
+
44472
+ @abstractmethod
44473
+ def _low_pass(self, low_pass: "scout_compute_resolved_api_LowPassConfiguration") -> Any:
44474
+ pass
44475
+
44476
+ @abstractmethod
44477
+ def _high_pass(self, high_pass: "scout_compute_resolved_api_HighPassConfiguration") -> Any:
44478
+ pass
44479
+
44480
+ @abstractmethod
44481
+ def _band_pass(self, band_pass: "scout_compute_resolved_api_BandPassConfiguration") -> Any:
44482
+ pass
44483
+
44484
+ @abstractmethod
44485
+ def _band_stop(self, band_stop: "scout_compute_resolved_api_BandStopConfiguration") -> Any:
44486
+ pass
44487
+
44488
+
44489
+ scout_compute_resolved_api_SignalFilterConfigurationVisitor.__name__ = "SignalFilterConfigurationVisitor"
44490
+ scout_compute_resolved_api_SignalFilterConfigurationVisitor.__qualname__ = "SignalFilterConfigurationVisitor"
44491
+ scout_compute_resolved_api_SignalFilterConfigurationVisitor.__module__ = "nominal_api.scout_compute_resolved_api"
44492
+
44493
+
44494
+ class scout_compute_resolved_api_SignalFilterSeriesNode(ConjureBeanType):
44495
+ """
44496
+ Applies IIR-based signal filtering to input series. Includes low-pass, high-pass, band-pass, and band-stop
44497
+ filters. Currently supports variable-order bidirectional Butterworth filters, with fixed-size padding based
44498
+ on SciPy output.
44499
+ """
44500
+
44501
+ @builtins.classmethod
44502
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
44503
+ return {
44504
+ 'input': ConjureFieldDefinition('input', scout_compute_resolved_api_NumericSeriesNode),
44505
+ 'signal_filter_configuration': ConjureFieldDefinition('signalFilterConfiguration', scout_compute_resolved_api_SignalFilterConfiguration),
44506
+ 'order': ConjureFieldDefinition('order', int),
44507
+ 'sampling_frequency': ConjureFieldDefinition('samplingFrequency', OptionalTypeWrapper[float])
44508
+ }
44509
+
44510
+ __slots__: List[str] = ['_input', '_signal_filter_configuration', '_order', '_sampling_frequency']
44511
+
44512
+ def __init__(self, input: "scout_compute_resolved_api_NumericSeriesNode", order: int, signal_filter_configuration: "scout_compute_resolved_api_SignalFilterConfiguration", sampling_frequency: Optional[float] = None) -> None:
44513
+ self._input = input
44514
+ self._signal_filter_configuration = signal_filter_configuration
44515
+ self._order = order
44516
+ self._sampling_frequency = sampling_frequency
44517
+
44518
+ @builtins.property
44519
+ def input(self) -> "scout_compute_resolved_api_NumericSeriesNode":
44520
+ return self._input
44521
+
44522
+ @builtins.property
44523
+ def signal_filter_configuration(self) -> "scout_compute_resolved_api_SignalFilterConfiguration":
44524
+ """
44525
+ Configuration for the signal filter, including filter type, cutoff frequency, and order.
44526
+ """
44527
+ return self._signal_filter_configuration
44528
+
44529
+ @builtins.property
44530
+ def order(self) -> int:
44531
+ """
44532
+ Order of filter. Must be a positive integer, and is effectively doubled for bidirectional filters.
44533
+ """
44534
+ return self._order
44535
+
44536
+ @builtins.property
44537
+ def sampling_frequency(self) -> Optional[float]:
44538
+ """
44539
+ The sampling frequency of the input series. Used to calculate normalized frequency for cutoff frequencies.
44540
+ Defaults to number of points divided by timespan of series.
44541
+ """
44542
+ return self._sampling_frequency
44543
+
44544
+
44545
+ scout_compute_resolved_api_SignalFilterSeriesNode.__name__ = "SignalFilterSeriesNode"
44546
+ scout_compute_resolved_api_SignalFilterSeriesNode.__qualname__ = "SignalFilterSeriesNode"
44547
+ scout_compute_resolved_api_SignalFilterSeriesNode.__module__ = "nominal_api.scout_compute_resolved_api"
44548
+
44549
+
44050
44550
  class scout_compute_resolved_api_StabilityDetectionRangesNode(ConjureBeanType):
44051
44551
 
44052
44552
  @builtins.classmethod
@@ -56803,29 +57303,6 @@ scout_run_api_DataSourceType.__qualname__ = "DataSourceType"
56803
57303
  scout_run_api_DataSourceType.__module__ = "nominal_api.scout_run_api"
56804
57304
 
56805
57305
 
56806
- class scout_run_api_DeleteEventsFromRunRequest(ConjureBeanType):
56807
-
56808
- @builtins.classmethod
56809
- def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
56810
- return {
56811
- 'events': ConjureFieldDefinition('events', List[event_EventRid])
56812
- }
56813
-
56814
- __slots__: List[str] = ['_events']
56815
-
56816
- def __init__(self, events: List[str]) -> None:
56817
- self._events = events
56818
-
56819
- @builtins.property
56820
- def events(self) -> List[str]:
56821
- return self._events
56822
-
56823
-
56824
- scout_run_api_DeleteEventsFromRunRequest.__name__ = "DeleteEventsFromRunRequest"
56825
- scout_run_api_DeleteEventsFromRunRequest.__qualname__ = "DeleteEventsFromRunRequest"
56826
- scout_run_api_DeleteEventsFromRunRequest.__module__ = "nominal_api.scout_run_api"
56827
-
56828
-
56829
57306
  class scout_run_api_Duration(ConjureBeanType):
56830
57307
 
56831
57308
  @builtins.classmethod
@@ -56861,35 +57338,6 @@ scout_run_api_Duration.__qualname__ = "Duration"
56861
57338
  scout_run_api_Duration.__module__ = "nominal_api.scout_run_api"
56862
57339
 
56863
57340
 
56864
- class scout_run_api_GetEventsForRunPage(ConjureBeanType):
56865
-
56866
- @builtins.classmethod
56867
- def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
56868
- return {
56869
- 'events': ConjureFieldDefinition('events', List[event_EventRid]),
56870
- 'next_page_token': ConjureFieldDefinition('nextPageToken', OptionalTypeWrapper[scout_api_Token])
56871
- }
56872
-
56873
- __slots__: List[str] = ['_events', '_next_page_token']
56874
-
56875
- def __init__(self, events: List[str], next_page_token: Optional[str] = None) -> None:
56876
- self._events = events
56877
- self._next_page_token = next_page_token
56878
-
56879
- @builtins.property
56880
- def events(self) -> List[str]:
56881
- return self._events
56882
-
56883
- @builtins.property
56884
- def next_page_token(self) -> Optional[str]:
56885
- return self._next_page_token
56886
-
56887
-
56888
- scout_run_api_GetEventsForRunPage.__name__ = "GetEventsForRunPage"
56889
- scout_run_api_GetEventsForRunPage.__qualname__ = "GetEventsForRunPage"
56890
- scout_run_api_GetEventsForRunPage.__module__ = "nominal_api.scout_run_api"
56891
-
56892
-
56893
57341
  class scout_run_api_GetRunByIdRequest(ConjureBeanType):
56894
57342
 
56895
57343
  @builtins.classmethod
@@ -57035,29 +57483,6 @@ scout_run_api_Property.__qualname__ = "Property"
57035
57483
  scout_run_api_Property.__module__ = "nominal_api.scout_run_api"
57036
57484
 
57037
57485
 
57038
- class scout_run_api_PublishEventsToRunRequest(ConjureBeanType):
57039
-
57040
- @builtins.classmethod
57041
- def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
57042
- return {
57043
- 'events': ConjureFieldDefinition('events', List[event_EventRid])
57044
- }
57045
-
57046
- __slots__: List[str] = ['_events']
57047
-
57048
- def __init__(self, events: List[str]) -> None:
57049
- self._events = events
57050
-
57051
- @builtins.property
57052
- def events(self) -> List[str]:
57053
- return self._events
57054
-
57055
-
57056
- scout_run_api_PublishEventsToRunRequest.__name__ = "PublishEventsToRunRequest"
57057
- scout_run_api_PublishEventsToRunRequest.__qualname__ = "PublishEventsToRunRequest"
57058
- scout_run_api_PublishEventsToRunRequest.__module__ = "nominal_api.scout_run_api"
57059
-
57060
-
57061
57486
  class scout_run_api_RefNameAndType(ConjureBeanType):
57062
57487
  """
57063
57488
  Scoped to the org-level, intended to help the frontend
@@ -62869,17 +63294,19 @@ class storage_datasource_api_NominalDataSource(ConjureBeanType):
62869
63294
  'id': ConjureFieldDefinition('id', storage_datasource_api_NominalDataSourceId),
62870
63295
  'description': ConjureFieldDefinition('description', OptionalTypeWrapper[str]),
62871
63296
  'data_last_written_at': ConjureFieldDefinition('dataLastWrittenAt', OptionalTypeWrapper[str]),
62872
- 'granularity': ConjureFieldDefinition('granularity', api_Granularity)
63297
+ 'granularity': ConjureFieldDefinition('granularity', api_Granularity),
63298
+ 'in_memory_streaming_enabled': ConjureFieldDefinition('inMemoryStreamingEnabled', OptionalTypeWrapper[bool])
62873
63299
  }
62874
63300
 
62875
- __slots__: List[str] = ['_rid', '_id', '_description', '_data_last_written_at', '_granularity']
63301
+ __slots__: List[str] = ['_rid', '_id', '_description', '_data_last_written_at', '_granularity', '_in_memory_streaming_enabled']
62876
63302
 
62877
- def __init__(self, granularity: "api_Granularity", id: str, rid: str, data_last_written_at: Optional[str] = None, description: Optional[str] = None) -> None:
63303
+ def __init__(self, granularity: "api_Granularity", id: str, rid: str, data_last_written_at: Optional[str] = None, description: Optional[str] = None, in_memory_streaming_enabled: Optional[bool] = None) -> None:
62878
63304
  self._rid = rid
62879
63305
  self._id = id
62880
63306
  self._description = description
62881
63307
  self._data_last_written_at = data_last_written_at
62882
63308
  self._granularity = granularity
63309
+ self._in_memory_streaming_enabled = in_memory_streaming_enabled
62883
63310
 
62884
63311
  @builtins.property
62885
63312
  def rid(self) -> str:
@@ -62905,6 +63332,10 @@ Will be accurate to within 1 minute.
62905
63332
  def granularity(self) -> "api_Granularity":
62906
63333
  return self._granularity
62907
63334
 
63335
+ @builtins.property
63336
+ def in_memory_streaming_enabled(self) -> Optional[bool]:
63337
+ return self._in_memory_streaming_enabled
63338
+
62908
63339
 
62909
63340
  storage_datasource_api_NominalDataSource.__name__ = "NominalDataSource"
62910
63341
  storage_datasource_api_NominalDataSource.__qualname__ = "NominalDataSource"
@@ -8,6 +8,8 @@ from .._impl import (
8
8
  scout_compute_api_ArithmeticSeries as ArithmeticSeries,
9
9
  scout_compute_api_AssetChannel as AssetChannel,
10
10
  scout_compute_api_Average as Average,
11
+ scout_compute_api_BandPassConfiguration as BandPassConfiguration,
12
+ scout_compute_api_BandStopConfiguration as BandStopConfiguration,
11
13
  scout_compute_api_BatchComputeUnitResult as BatchComputeUnitResult,
12
14
  scout_compute_api_BatchComputeUnitsRequest as BatchComputeUnitsRequest,
13
15
  scout_compute_api_BatchComputeWithUnitsRequest as BatchComputeWithUnitsRequest,
@@ -107,6 +109,7 @@ from .._impl import (
107
109
  scout_compute_api_GeoSummaryStrategyVisitor as GeoSummaryStrategyVisitor,
108
110
  scout_compute_api_GeoTemporalSummary as GeoTemporalSummary,
109
111
  scout_compute_api_GeoTimeBucket as GeoTimeBucket,
112
+ scout_compute_api_HighPassConfiguration as HighPassConfiguration,
110
113
  scout_compute_api_Histogram as Histogram,
111
114
  scout_compute_api_HistogramChannelCount as HistogramChannelCount,
112
115
  scout_compute_api_HistogramVisitor as HistogramVisitor,
@@ -135,6 +138,7 @@ from .._impl import (
135
138
  scout_compute_api_LogUnionSeries as LogUnionSeries,
136
139
  scout_compute_api_LogValueFilterSeries as LogValueFilterSeries,
137
140
  scout_compute_api_LogValueFilterSeriesVisitor as LogValueFilterSeriesVisitor,
141
+ scout_compute_api_LowPassConfiguration as LowPassConfiguration,
138
142
  scout_compute_api_MaxSeries as MaxSeries,
139
143
  scout_compute_api_Maximum as Maximum,
140
144
  scout_compute_api_MeanSeries as MeanSeries,
@@ -209,6 +213,9 @@ from .._impl import (
209
213
  scout_compute_api_SeriesSpec as SeriesSpec,
210
214
  scout_compute_api_SeriesVisitor as SeriesVisitor,
211
215
  scout_compute_api_SetNegativeValuesToZero as SetNegativeValuesToZero,
216
+ scout_compute_api_SignalFilterConfiguration as SignalFilterConfiguration,
217
+ scout_compute_api_SignalFilterConfigurationVisitor as SignalFilterConfigurationVisitor,
218
+ scout_compute_api_SignalFilterSeries as SignalFilterSeries,
212
219
  scout_compute_api_StabilityDetectionRanges as StabilityDetectionRanges,
213
220
  scout_compute_api_StabilityWindowConfiguration as StabilityWindowConfiguration,
214
221
  scout_compute_api_StaleRanges as StaleRanges,
@@ -4,6 +4,8 @@ from .._impl import (
4
4
  scout_compute_resolved_api_AggregateEnumSeriesNode as AggregateEnumSeriesNode,
5
5
  scout_compute_resolved_api_AggregateNumericSeriesNode as AggregateNumericSeriesNode,
6
6
  scout_compute_resolved_api_ArithmeticSeriesNode as ArithmeticSeriesNode,
7
+ scout_compute_resolved_api_BandPassConfiguration as BandPassConfiguration,
8
+ scout_compute_resolved_api_BandStopConfiguration as BandStopConfiguration,
7
9
  scout_compute_resolved_api_BinaryArithmeticSeriesNode as BinaryArithmeticSeriesNode,
8
10
  scout_compute_resolved_api_BitOperationSeriesNode as BitOperationSeriesNode,
9
11
  scout_compute_resolved_api_CartesianBounds as CartesianBounds,
@@ -32,6 +34,7 @@ from .._impl import (
32
34
  scout_compute_resolved_api_GeoNodeSummaryStrategyVisitor as GeoNodeSummaryStrategyVisitor,
33
35
  scout_compute_resolved_api_GeoNodeTemporalSummary as GeoNodeTemporalSummary,
34
36
  scout_compute_resolved_api_GeoNodeVisitor as GeoNodeVisitor,
37
+ scout_compute_resolved_api_HighPassConfiguration as HighPassConfiguration,
35
38
  scout_compute_resolved_api_HistogramNode as HistogramNode,
36
39
  scout_compute_resolved_api_HistogramNodeVisitor as HistogramNodeVisitor,
37
40
  scout_compute_resolved_api_IntegralSeriesNode as IntegralSeriesNode,
@@ -40,6 +43,7 @@ from .._impl import (
40
43
  scout_compute_resolved_api_IntersectRangesNode as IntersectRangesNode,
41
44
  scout_compute_resolved_api_LatLongBounds as LatLongBounds,
42
45
  scout_compute_resolved_api_LatLongGeoNode as LatLongGeoNode,
46
+ scout_compute_resolved_api_LowPassConfiguration as LowPassConfiguration,
43
47
  scout_compute_resolved_api_MaxSeriesNode as MaxSeriesNode,
44
48
  scout_compute_resolved_api_MeanSeriesNode as MeanSeriesNode,
45
49
  scout_compute_resolved_api_MinMaxThresholdRangesNode as MinMaxThresholdRangesNode,
@@ -80,6 +84,9 @@ from .._impl import (
80
84
  scout_compute_resolved_api_SeriesCrossoverRangesNode as SeriesCrossoverRangesNode,
81
85
  scout_compute_resolved_api_SeriesNode as SeriesNode,
82
86
  scout_compute_resolved_api_SeriesNodeVisitor as SeriesNodeVisitor,
87
+ scout_compute_resolved_api_SignalFilterConfiguration as SignalFilterConfiguration,
88
+ scout_compute_resolved_api_SignalFilterConfigurationVisitor as SignalFilterConfigurationVisitor,
89
+ scout_compute_resolved_api_SignalFilterSeriesNode as SignalFilterSeriesNode,
83
90
  scout_compute_resolved_api_StabilityDetectionRangesNode as StabilityDetectionRangesNode,
84
91
  scout_compute_resolved_api_StaleRangesNode as StaleRangesNode,
85
92
  scout_compute_resolved_api_SumSeriesNode as SumSeriesNode,
@@ -14,9 +14,7 @@ from .._impl import (
14
14
  scout_run_api_DataSourceSeriesTag as DataSourceSeriesTag,
15
15
  scout_run_api_DataSourceType as DataSourceType,
16
16
  scout_run_api_DataSourceVisitor as DataSourceVisitor,
17
- scout_run_api_DeleteEventsFromRunRequest as DeleteEventsFromRunRequest,
18
17
  scout_run_api_Duration as Duration,
19
- scout_run_api_GetEventsForRunPage as GetEventsForRunPage,
20
18
  scout_run_api_GetRunByIdRequest as GetRunByIdRequest,
21
19
  scout_run_api_GetRunsByAssetRequest as GetRunsByAssetRequest,
22
20
  scout_run_api_GetRunsByAssetResponse as GetRunsByAssetResponse,
@@ -26,7 +24,6 @@ from .._impl import (
26
24
  scout_run_api_Property as Property,
27
25
  scout_run_api_PropertyName as PropertyName,
28
26
  scout_run_api_PropertyValue as PropertyValue,
29
- scout_run_api_PublishEventsToRunRequest as PublishEventsToRunRequest,
30
27
  scout_run_api_RefNameAndType as RefNameAndType,
31
28
  scout_run_api_Run as Run,
32
29
  scout_run_api_RunDataReviewEvaluationStatus as RunDataReviewEvaluationStatus,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nominal-api
3
- Version: 0.540.0
3
+ Version: 0.541.0
4
4
  Requires-Python: >=3.8
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: conjure-python-client<3,>=2.8.0
@@ -1,5 +1,5 @@
1
- nominal_api/__init__.py,sha256=PgTMWZrSjdtP3Ira9hG2bMy7Qdz6N5XzwHZSc3xDXuc,1762
2
- nominal_api/_impl.py,sha256=6DO_xexkB3gQLyqfog5kXBFedWdBdddSQkC7H1cI8fE,2647850
1
+ nominal_api/__init__.py,sha256=GV6Kh5nkfkljdeaz5y5FFGpLlKbbPlU7QraBV4fJ--E,1762
2
+ nominal_api/_impl.py,sha256=ylUEy1vbtjNF0PJ3saL3r6FMgQKS5xBby7MU3sDxeCQ,2669686
3
3
  nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
4
4
  nominal_api/api/__init__.py,sha256=CaUmWhW0zcP8jVWFQEgj-lpoBi-Unm0wBd2s9dPeWmo,656
5
5
  nominal_api/api_rids/__init__.py,sha256=p7dKiMV692oGtYStr5FZJEJNg3YbF7scJK1WFMpBiW0,298
@@ -28,10 +28,10 @@ nominal_api/scout_checklistexecution_api/__init__.py,sha256=PfMFzie0xO5d5WSpB3bE
28
28
  nominal_api/scout_checks_api/__init__.py,sha256=RJH7HsXjUhItC11V9C-hfv6lkIfiSXyxnB8slUpaT2g,5203
29
29
  nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=8BL5jE9NDxqCj9DyvZWSPhq6zw2J7xp6aLsl3x9rpyw,4530
30
30
  nominal_api/scout_comparisonrun_api/__init__.py,sha256=1LCXQe64tDqqeMQixW8PI-R_edSz7F5X0x2_ufEuC8M,480
31
- nominal_api/scout_compute_api/__init__.py,sha256=2hkEtKIcCTMCiG4pM8tOe4JOXnod3xZFLlP6nsJmjpE,15746
31
+ nominal_api/scout_compute_api/__init__.py,sha256=LTyWkvP0El00HnyM_CFI1NpGJgStubKck8mAP9P05fQ,16258
32
32
  nominal_api/scout_compute_api_deprecated/__init__.py,sha256=RggSfc6C1VR1-kNXPWybpfw3hZbkQ1gvxEisFZCHdnM,3732
33
33
  nominal_api/scout_compute_representation_api/__init__.py,sha256=FezODo7sI8m6tDhPPK_gZX1qXImi4O3TUprDoNUuWpk,1672
34
- nominal_api/scout_compute_resolved_api/__init__.py,sha256=k9LeUYDDFbNRNjpFh1F6SBzZ4rKaSVaoGLRCn6QXQHU,7584
34
+ nominal_api/scout_compute_resolved_api/__init__.py,sha256=LdYWUd7eFPhJMIADnVZwXYu1wNLj8tvwmUHqKMZC19s,8167
35
35
  nominal_api/scout_dataexport_api/__init__.py,sha256=pWRQdQJOObD0jITRYLw3AxeDJSrJQqAdFZACxULqA4o,1487
36
36
  nominal_api/scout_datareview_api/__init__.py,sha256=CxPVFirxckwj_cVSmqCI5X-4EDfp7iGp11o3VvmSNX0,8519
37
37
  nominal_api/scout_datasource/__init__.py,sha256=1NWMrEx-JOEb4Pmd2oAqcpSmQB3g3lxgxFenWEtcF2M,101
@@ -46,7 +46,7 @@ nominal_api/scout_metadata/__init__.py,sha256=GIhWKJL2XSMB0iGaKfcGgmPHuvGWWmkK4l
46
46
  nominal_api/scout_notebook_api/__init__.py,sha256=QW0vg8ZrAmuctjnNLxTnqtwyQoX-H9MOkHlLWioe5AA,1230
47
47
  nominal_api/scout_plotting/__init__.py,sha256=m6u3y7R70mo3ugaCp_-fwlS8_tDwrsq1l5ElOTY0TBc,91
48
48
  nominal_api/scout_rids_api/__init__.py,sha256=YH_6EVOA2sJQH81wYb2sx500wrEBXF-Xij76Bl946MY,1174
49
- nominal_api/scout_run_api/__init__.py,sha256=bJ6rYRRtdBiHnSrMg64vD0kWqqQh0mo6pw8kS_VN69g,2980
49
+ nominal_api/scout_run_api/__init__.py,sha256=c4I7gob0WYcnf1Ra5wBhizc5uLSu6z4EMwGT___vuKk,2768
50
50
  nominal_api/scout_template_api/__init__.py,sha256=bsu8qPiZ4gf67G5iFvwsfkqEKJRZ7L5Wyg6qcFyogO0,1037
51
51
  nominal_api/scout_units_api/__init__.py,sha256=KxRDScfumX__0ncWJftGvgApn_LBTfnIBAvnaBrcA5A,368
52
52
  nominal_api/scout_versioning_api/__init__.py,sha256=Sf4T4t0rZXNRIZgkqLBN3yh0sAnrxiuzaTfDQVVkyO4,1323
@@ -65,7 +65,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=wr83ByQTVVPOGvbB_KWL
65
65
  nominal_api/timeseries_seriescache/__init__.py,sha256=tFCkNuyrVMgtj-HIl1pOYPJHaL2VikI4C_x97bX_Lcs,109
66
66
  nominal_api/timeseries_seriescache_api/__init__.py,sha256=YLixotb-W-adYR6t_RBsJDwoHttppkOBesoaXERwhVs,1240
67
67
  nominal_api/upload_api/__init__.py,sha256=ZMudWMSqCrNozohbHaJKuxJnT9Edepe7nxxXMz_pT9k,87
68
- nominal_api-0.540.0.dist-info/METADATA,sha256=BuGm9tNrGHFj_0__l8Igv8Mplwf6qeoMx2GNETWLX38,199
69
- nominal_api-0.540.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
70
- nominal_api-0.540.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
71
- nominal_api-0.540.0.dist-info/RECORD,,
68
+ nominal_api-0.541.0.dist-info/METADATA,sha256=hfVZrRBLAhDo0stwDEPXYWR7VbhQNKbjESF6QzkyNw8,199
69
+ nominal_api-0.541.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
70
+ nominal_api-0.541.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
71
+ nominal_api-0.541.0.dist-info/RECORD,,