orchid-python-api 5.24.4__tar.gz → 5.25.2__tar.gz

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.
Files changed (87) hide show
  1. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/PKG-INFO +14 -12
  2. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/ReleaseNotes.md +49 -0
  3. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/copy_orchid_examples.py +1 -1
  4. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/copy_orchid_low_level_examples.py +1 -1
  5. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/copy_orchid_manual_examples.py +1 -1
  6. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/copy_orchid_tutorials.py +1 -1
  7. orchid_python_api-5.25.2/orchid/VERSION +1 -0
  8. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/__init__.py +1 -1
  9. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/__version__.py +1 -1
  10. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/base.py +1 -1
  11. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/base_time_series_adapter.py +1 -1
  12. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/configuration.py +1 -1
  13. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/convert.py +1 -1
  14. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/core.py +1 -1
  15. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/dom_project_object.py +1 -1
  16. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/dot_net.py +1 -1
  17. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/dot_net_disposable.py +1 -1
  18. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/dot_net_dom_access.py +1 -1
  19. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/measurement.py +1 -1
  20. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_data_frame_adapter.py +1 -1
  21. orchid_python_api-5.25.2/orchid/native_fiber_data.py +73 -0
  22. orchid_python_api-5.25.2/orchid/native_fiber_data_set_info.py +28 -0
  23. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_monitor_adapter.py +1 -1
  24. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_project_user_data_adapter.py +1 -1
  25. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_stage_adapter.py +1 -1
  26. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_stage_part_adapter.py +1 -1
  27. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_subsurface_point.py +1 -1
  28. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_time_series_adapter.py +1 -1
  29. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_trajectory_adapter.py +1 -1
  30. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_treatment_calculations.py +1 -1
  31. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_treatment_curve_adapter.py +1 -1
  32. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/native_well_adapter.py +1 -1
  33. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/net_date_time.py +1 -1
  34. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/net_enumerable.py +1 -1
  35. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/net_fracture_diagnostics_factory.py +1 -1
  36. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/net_quantity.py +1 -1
  37. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/net_stage_qc.py +1 -1
  38. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/physical_quantity.py +1 -1
  39. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/project.py +11 -1
  40. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/project_store.py +1 -1
  41. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/reference_origins.py +1 -1
  42. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/script_adapter_context.py +1 -1
  43. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/searchable_data_frames.py +1 -1
  44. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/searchable_project_objects.py +1 -1
  45. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/searchable_stage_parts.py +1 -1
  46. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/searchable_stages.py +1 -1
  47. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/unit_system.py +1 -1
  48. orchid_python_api-5.25.2/orchid/utils.py +14 -0
  49. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/validation.py +1 -1
  50. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid/version.py +1 -1
  51. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/__init__.py +1 -1
  52. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/add_stages.py +1 -1
  53. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/change_stage_times.py +1 -1
  54. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/completion_analysis.ipynb +1 -1
  55. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/completion_analysis.py +1 -1
  56. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/low_level/add_stages_low.py +1 -1
  57. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/low_level/auto_pick.ipynb +1 -1
  58. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/low_level/auto_pick.py +1 -1
  59. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/low_level/auto_pick_and_create_stage_attribute.py +1 -1
  60. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/low_level/auto_pick_iterate_example.py +1 -1
  61. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/low_level/monitor_time_series.py +1 -1
  62. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/low_level/multi_picking_events.py +2 -2
  63. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/manual/data_frame_with_guid.ipynb +1 -1
  64. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/manual/data_frame_with_guid.py +1 -1
  65. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/plot_time_series.ipynb +1 -1
  66. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/plot_time_series.py +1 -1
  67. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/plot_trajectories.ipynb +1 -1
  68. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/plot_trajectories.py +1 -1
  69. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/plot_treatment.ipynb +1 -1
  70. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/plot_treatment.py +1 -1
  71. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/pythonnet3/internal_tests.py +1 -1
  72. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/pythonnet3/low_level.py +1 -1
  73. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/search_data_frames.ipynb +1 -1
  74. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/search_data_frames.py +1 -1
  75. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/stage_qc_results.py +1 -1
  76. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/volume_2_first_response.ipynb +1 -1
  77. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/volume_2_first_response.py +3 -3
  78. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/tutorials/dom_navigation_tutorial.ipynb +1 -1
  79. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/tutorials/dom_navigation_tutorial.py +1 -1
  80. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/pyproject.toml +43 -31
  81. orchid_python_api-5.24.4/orchid/VERSION +0 -1
  82. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/LICENSE +0 -0
  83. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/README.md +0 -0
  84. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/python_api.yaml.example +0 -0
  85. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/pythonnet3/internal_tests.ipynb +0 -0
  86. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/examples/pythonnet3/low_level.ipynb +0 -0
  87. {orchid_python_api-5.24.4 → orchid_python_api-5.25.2}/orchid_python_api/requirements.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: orchid-python-api
3
- Version: 5.24.4
3
+ Version: 5.25.2
4
4
  Summary: Defines and implements the Python API for Orchid*. (*Orchid is a mark of KAPPA.)
5
5
  Home-page: https://github.com/Reveal-Energy-Services/orchid-python-api
6
6
  License: Apache-2.0
@@ -24,22 +24,24 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
24
24
  Classifier: Topic :: Scientific/Engineering
25
25
  Classifier: Topic :: Software Development :: Libraries
26
26
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
27
- Requires-Dist: deal (>=4.23.4,<5.0.0)
28
- Requires-Dist: ipython (>=8.7.0,<9.0.0)
29
- Requires-Dist: matplotlib (>=3.6.2,<4.0.0)
30
- Requires-Dist: numpy (>=1.23.5,<2.0.0)
27
+ Provides-Extra: examples
28
+ Requires-Dist: clr (==1.0.3)
29
+ Requires-Dist: deal (>=4.24.4,<5.0.0)
30
+ Requires-Dist: ipython (>=8.0,<9.0) ; extra == "examples"
31
+ Requires-Dist: jupyterlab-vim ; extra == "examples"
32
+ Requires-Dist: matplotlib (>=3.7,<4.0) ; extra == "examples"
33
+ Requires-Dist: numpy (>=1.26.4,<2.0.0)
31
34
  Requires-Dist: option (>=2.1.0,<3.0.0)
32
35
  Requires-Dist: packaging (>=24.1,<25.0)
33
36
  Requires-Dist: pandas (>=2.2.2,<3.0.0)
34
37
  Requires-Dist: pendulum (>=3.0.0,<4.0.0)
35
38
  Requires-Dist: pint (>=0.20.1,<0.21.0)
36
- Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
37
- Requires-Dist: pythonnet (==3.0.3)
38
- Requires-Dist: pyyaml (>=6.0,<7.0)
39
- Requires-Dist: scipy (>=1.9.3,<2.0.0)
40
- Requires-Dist: seaborn (>=0.12.1,<0.13.0)
41
- Requires-Dist: toolz (>=0.12.0,<0.13.0)
42
- Requires-Dist: typing-extensions (>=4.4.0,<5.0.0)
39
+ Requires-Dist: python-dateutil (>=2.9.0,<3.0.0)
40
+ Requires-Dist: pythonnet (>=3.0.3,<4.0.0)
41
+ Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
42
+ Requires-Dist: scipy (>=1.10,<2.0) ; extra == "examples"
43
+ Requires-Dist: seaborn (>=0.12,<0.13) ; extra == "examples"
44
+ Requires-Dist: toolz (>=0.12.1,<0.13.0)
43
45
  Project-URL: Documentation, https://github.com/Reveal-Energy-Services/orchid-python-api/wiki
44
46
  Project-URL: Issues, https://github.com/Reveal-Energy-Services/orchid-python-api/issues
45
47
  Project-URL: Repository, https://github.com/Reveal-Energy-Services/orchid-python-api
@@ -13,6 +13,55 @@ the [Python grip utility](https://pypi.org/project/grip/). This application allo
13
13
  files before sending off to GitHub". Although you need not send any of these file to `GitHub`, by using `grip`
14
14
  to render the file, you can much more easily navigate the document links.
15
15
 
16
+ ### Release notes for 5.25.2
17
+
18
+ This release is the production release of the Orchid Python API corresponding to Orchid 5.25.2. We have made the necessary
19
+ updates to the Python API to remain compatible with the .NET API.
20
+
21
+ A minor change has been made where we've split the dependencies between the example files and the sdk dependencies for a smaller footprint when installing the API. There are probably
22
+ many ways to do this, but when installing the new package, if you want to install the example dependencies you can run `pip install .[examples]` or if using poetry `poetry install -E examples`
23
+
24
+ #### Possible breaking .NET API changes
25
+
26
+ - None
27
+
28
+ #### Resolved Issues
29
+
30
+ - None
31
+
32
+ #### Features
33
+
34
+ - None
35
+
36
+ #### Known Issues
37
+
38
+ - None
39
+
40
+ ### Release notes for 5.25.1
41
+
42
+ This release is the production release of the Orchid Python API corresponding to Orchid 5.25.1. We have made the necessary
43
+ updates to the Python API to remain compatible with the .NET API.
44
+
45
+ Additionally, we have added a simple high level API to access fiber data. See `fiber_data_example.py` in the `examples\` folder.
46
+ Note that even with a small fiber data set, converting the fiber data into a `pandas` data frame takes quite
47
+ a while. Getting the data in .NET objects is fairly quick, so there may be room for other ideas there.
48
+
49
+ #### Possible breaking .NET API changes
50
+
51
+ - None
52
+
53
+ #### Resolved Issues
54
+
55
+ - None
56
+
57
+ #### Features
58
+
59
+ - None
60
+
61
+ #### Known Issues
62
+
63
+ - None
64
+
16
65
  ### Release notes for 5.24.4
17
66
 
18
67
  This release is the production release of the Orchid Python API corresponding to Orchid 5.24.3. We have made the necessary
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # This file is part of Orchid and related technologies.
4
4
  #
5
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
5
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
6
6
  #
7
7
  # LEGAL NOTICE:
8
8
  # Orchid contains trade secrets and otherwise confidential information
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # This file is part of Orchid and related technologies.
4
4
  #
5
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
5
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
6
6
  #
7
7
  # LEGAL NOTICE:
8
8
  # Orchid contains trade secrets and otherwise confidential information
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # This file is part of Orchid and related technologies.
4
4
  #
5
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
5
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
6
6
  #
7
7
  # LEGAL NOTICE:
8
8
  # Orchid contains trade secrets and otherwise confidential information
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # This file is part of Orchid and related technologies.
4
4
  #
5
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
5
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
6
6
  #
7
7
  # LEGAL NOTICE:
8
8
  # Orchid contains trade secrets and otherwise confidential information
@@ -0,0 +1 @@
1
+ 5.25.2
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- # Copyright (c) 2017-2024 KAPPA
3
+ # Copyright (c) 2017-2025 KAPPA
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -0,0 +1,73 @@
1
+ # noinspection PyUnresolvedReferences,PyPackageRequirements
2
+ from Orchid.FractureDiagnostics.FiberDataSet import IFiberDataSet
3
+ import orchid.base
4
+ from orchid import (
5
+ dom_project_object as dpo,
6
+ native_fiber_data_set_info as info
7
+ )
8
+ from .utils import convert_dotnet_datetime_to_python_datetime
9
+ from typing import List, Optional
10
+ from datetime import datetime
11
+ import pandas as pd
12
+
13
+ INT32_MAX = 2147483647
14
+
15
+
16
+ class NativeFiberData(dpo.DomProjectObject):
17
+ """Adapts a native IFiberDataSet to python."""
18
+
19
+ def __init__(self, net_fiber_data_set: IFiberDataSet):
20
+ """
21
+ Constructs an instance adapting a .NET IFiberDataSet.
22
+ Args:
23
+ net_fiber_data_set: The .NET fiber data set to be adapted.
24
+ """
25
+ super().__init__(net_fiber_data_set, orchid.base.constantly(net_fiber_data_set.Project))
26
+
27
+ @property
28
+ def file_path(self) -> str:
29
+ return self.dom_object.FilePath
30
+
31
+ @property
32
+ def depth_unit(self) -> str:
33
+ return self.dom_object.DepthUnit
34
+
35
+ @property
36
+ def timezone_info(self) -> str:
37
+ return self.dom_object.TimeZoneInfo
38
+
39
+ @property
40
+ def times_data_set(self) -> str:
41
+ return self.dom_object.TimesDataSet
42
+
43
+ @property
44
+ def data_sets_info(self) -> List[info.NativeFiberDataSetInfo]:
45
+ return [info.NativeFiberDataSetInfo(x) for x in self.dom_object.FiberDataSets]
46
+
47
+ def get_data_set(self, data_set_name: Optional[str] = None):
48
+ try:
49
+ data_set_info = next(x for x in self.dom_object.FiberDataSets if x.name == data_set_name) if data_set_name is not None else self.dom_object.FiberDataSets[0]
50
+ except StopIteration:
51
+ raise ValueError("No Data Set with this name in this fiber data object")
52
+ data = self.dom_object.GetDataSet(data_set_info)
53
+ data_list = [[data[i, j] for j in range(data.GetLength(1))] for i in range(data.GetLength(0))]
54
+ return pd.DataFrame(data_list)
55
+
56
+ def get_data_table(self, start_index: int = 0, end_index: int = INT32_MAX):
57
+ if end_index == INT32_MAX:
58
+ print("We strongly recommend that you avoid loading the entire data table and instead work with chunks, "
59
+ "specifying the start and end indexes. You can also use the get_data_set method, which is faster.")
60
+ print("Retrieving the data table... This may take a few minutes")
61
+ data_table = self.dom_object.GetDataTable(self.dom_object.DepthUnit, start_index, end_index)
62
+ data_dict = {column: [row[column] for row in data_table.Rows] for column in data_table.Columns}
63
+ df = pd.DataFrame(data_dict)
64
+ print("Data table Retrieved")
65
+ return df
66
+
67
+ @property
68
+ def dates(self) -> List[datetime]:
69
+ return [convert_dotnet_datetime_to_python_datetime(x.ToString()) for x in self.dom_object.Times]
70
+
71
+ @property
72
+ def depths(self) -> List[float]:
73
+ return [x.Value for x in self.dom_object.Depths]
@@ -0,0 +1,28 @@
1
+ # noinspection PyUnresolvedReferences,PyPackageRequirements
2
+ from Orchid.FractureDiagnostics.FiberDataSet import IFiberDataSetInfo
3
+ import orchid.base
4
+ from orchid import (
5
+ dot_net_dom_access as dna,
6
+ dom_project_object as dpo,
7
+ dot_net_disposable as dnd,
8
+ net_date_time as ndt,
9
+ )
10
+ import json
11
+
12
+
13
+ class NativeFiberDataSetInfo(dpo.DomProjectObject):
14
+ """Adapts a native IFiberDataSet to python."""
15
+
16
+ def __init__(self, net_fiber_data_set_info: IFiberDataSetInfo):
17
+ """
18
+ Constructs an instance adapting a .NET IFiberDataSet.
19
+ Args:
20
+ net_fiber_data_set_info: The .NET fiber data set to be adapted.
21
+ """
22
+ super().__init__(net_fiber_data_set_info)
23
+
24
+ description = dna.dom_property('description', 'Description')
25
+ type = dna.dom_property('type', 'Type')
26
+ unit = dna.dom_property('unit', 'Unit of this data set')
27
+ min = dna.dom_property('min', 'Minimum value of this data set')
28
+ max = dna.dom_property('max', 'Maximum value of this data set')
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,4 +1,4 @@
1
- # Copyright 2017-2024 KAPPA
1
+ # Copyright 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2017-2024 KAPPA
1
+ # Copyright 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2017-2024 KAPPA
1
+ # Copyright 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@ import toolz.curried as toolz
25
25
  from orchid import (
26
26
  dot_net_dom_access as dna,
27
27
  native_data_frame_adapter as dfa,
28
+ native_fiber_data as nfd,
28
29
  native_monitor_adapter as nma,
29
30
  native_time_series_adapter as tsa,
30
31
  native_project_user_data_adapter as uda,
@@ -105,6 +106,15 @@ class Project(dna.IdentifiedDotNetAdapter):
105
106
  """
106
107
  return spo.SearchableProjectObjects(nma.NativeMonitorAdapter, self.dom_object.Monitors.Items)
107
108
 
109
+ def fiber_data(self) -> List[nfd.NativeFiberData]:
110
+ """
111
+ Return a `spo.SearchableProjectObjects` instance of all the fiber data for this project.
112
+
113
+ Returns:
114
+ An `spo.SearchableProjectObjects` for all the monitors of this project.
115
+ """
116
+ return list(spo.SearchableProjectObjects(nfd.NativeFiberData, self.dom_object.FiberDataSets.Items))
117
+
108
118
  def project_bounds(self) -> ProjectBounds:
109
119
  result = toolz.pipe(self.dom_object.GetProjectBounds(),
110
120
  toolz.map(option.maybe),
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
1
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
2
2
  #
3
3
  # This file is part of Orchid and related technologies.
4
4
  #
@@ -0,0 +1,14 @@
1
+ from datetime import datetime
2
+
3
+ FORMATS = [
4
+ '%d/%m/%Y %H:%M:%S', # e.g., 16/04/2019 23:45:10
5
+ '%m/%d/%Y %I:%M:%S %p', # e.g., 4/16/2019 12:02:51 AM
6
+ ]
7
+
8
+ def convert_dotnet_datetime_to_python_datetime(csharp_datetime_str: str) -> datetime:
9
+ for fmt in FORMATS:
10
+ try:
11
+ return datetime.strptime(csharp_datetime_str, fmt)
12
+ except ValueError:
13
+ continue
14
+ raise ValueError(f"Unrecognized datetime format: '{csharp_datetime_str}'")
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,4 +1,4 @@
1
- # Copyright 2017-2024 KAPPA
1
+ # Copyright 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "outputs": [],
16
16
  "source": [
17
- "# Copyright (c) 2017-2024 KAPPA\n",
17
+ "# Copyright (c) 2017-2025 KAPPA\n",
18
18
  "#\n",
19
19
  "# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
20
20
  "# you may not use this file except in compliance with the License.\n",
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -9,7 +9,7 @@
9
9
  "#\n",
10
10
  "# This file is part of Orchid and related technologies.\n",
11
11
  "#\n",
12
- "# Copyright (c) 2017-2024 KAPPA. All Rights Reserved.\n",
12
+ "# Copyright (c) 2017-2025 KAPPA. All Rights Reserved.\n",
13
13
  "#\n",
14
14
  "# LEGAL NOTICE:\n",
15
15
  "# Orchid contains trade secrets and otherwise confidential information\n",
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -171,7 +171,7 @@ def main(cli_args):
171
171
  logging.info(f'{len(observation_sets_items)=}')
172
172
  for observation_set in observation_sets_items:
173
173
  logging.info(f'{observation_set.Name=}')
174
- logging.info(f'{len(dne.as_list(observation_set.LeakOffObservations.Items))=}')
174
+ logging.info(f'{len(dne.as_list(observation_set.SignalObservations.Items))=}')
175
175
  logging.info(f'{len(dne.as_list(observation_set.MultiPickingObservations.Items))=}')
176
176
 
177
177
  # Save project changes to specified .ifrac file
@@ -5,7 +5,7 @@
5
5
  "execution_count": null,
6
6
  "outputs": [],
7
7
  "source": [
8
- "# Copyright (c) 2017-2024 KAPPA\n",
8
+ "# Copyright (c) 2017-2025 KAPPA\n",
9
9
  "#\n",
10
10
  "# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
11
11
  "# you may not use this file except in compliance with the License.\n",
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "outputs": [],
16
16
  "source": [
17
- "# Copyright (c) 2017-2024 KAPPA\n",
17
+ "# Copyright (c) 2017-2025 KAPPA\n",
18
18
  "#\n",
19
19
  "# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
20
20
  "# you may not use this file except in compliance with the License.\n",
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "outputs": [],
16
16
  "source": [
17
- "# Copyright (c) 2017-2024 KAPPA\n",
17
+ "# Copyright (c) 2017-2025 KAPPA\n",
18
18
  "#\n",
19
19
  "# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
20
20
  "# you may not use this file except in compliance with the License.\n",
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "outputs": [],
16
16
  "source": [
17
- "# Copyright (c) 2017-2024 KAPPA\n",
17
+ "# Copyright (c) 2017-2025 KAPPA\n",
18
18
  "#\n",
19
19
  "# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
20
20
  "# you may not use this file except in compliance with the License.\n",
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "outputs": [],
16
16
  "source": [
17
- "# Copyright (c) 2017-2024 KAPPA\n",
17
+ "# Copyright (c) 2017-2025 KAPPA\n",
18
18
  "#\n",
19
19
  "# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
20
20
  "# you may not use this file except in compliance with the License.\n",
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "outputs": [],
12
12
  "source": [
13
- "# Copyright (c) 2017-2024 KAPPA\n",
13
+ "# Copyright (c) 2017-2025 KAPPA\n",
14
14
  "#\n",
15
15
  "# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
16
16
  "# you may not use this file except in compliance with the License.\n",
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # This file is part of Orchid and related technologies.
3
3
  #
4
- # Copyright (c) 2017-2024 KAPPA. All Rights Reserved.
4
+ # Copyright (c) 2017-2025 KAPPA. All Rights Reserved.
5
5
  #
6
6
  # LEGAL NOTICE:
7
7
  # Orchid contains trade secrets and otherwise confidential information
@@ -135,9 +135,9 @@ def calculate_volume_2_first_response():
135
135
  derive_1_time = first_derivative_threshold(p_stg, 0.2)
136
136
  derive_2_time = second_derivative_peak(p_stg)
137
137
  if derive_1_time is not None:
138
- derive_1_time = dt.datetime.utcfromtimestamp(derive_1_time.tolist() * 1e-9).replace(tzinfo=orchid.UTC)
138
+ derive_1_time = derive_1_time.astype(dt.datetime).replace(tzinfo=dt.timezone.utc)
139
139
  if derive_2_time is not None:
140
- derive_2_time = dt.datetime.utcfromtimestamp(derive_2_time.tolist() * 1e-9).replace(tzinfo=orchid.UTC)
140
+ derive_2_time = derive_2_time.astype(dt.datetime).replace(tzinfo=dt.timezone.utc)
141
141
  vfr_d1, _, _ = (compute_stage_treatment_aggregates(stage, derive_1_time) if derive_1_time is not None
142
142
  else (None, None, None))
143
143
  vfr_d2, _, _ = (compute_stage_treatment_aggregates(stage, derive_2_time) if derive_2_time is not None
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "outputs": [],
16
16
  "source": [
17
- "# Copyright (c) 2017-2024 KAPPA\n",
17
+ "# Copyright (c) 2017-2025 KAPPA\n",
18
18
  "#\n",
19
19
  "# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
20
20
  "# you may not use this file except in compliance with the License.\n",
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2017-2024 KAPPA
1
+ # Copyright (c) 2017-2025 KAPPA
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "orchid-python-api"
7
- version = "5.24.4"
7
+ version = "5.25.2"
8
8
  description = "Defines and implements the Python API for Orchid*. (*Orchid is a mark of KAPPA.)"
9
9
  authors = [ "KAPPA. <support@kappaeng.com>",]
10
10
  maintainers = [ "KAPPA. <support@kappaeng.com>",]
@@ -55,24 +55,25 @@ exclude=["orchid/.ipynb_checkpoints/", "**/*py~"]
55
55
 
56
56
  [tool.poetry.dependencies]
57
57
  python = ">=3.10,<3.13"
58
- pythonnet = "3.0.3"
59
- numpy = "^1.23.5"
60
- # Allow consumers to create `datetime` instances using `dateutil`, for example, by calling `dateutil.parse()`, and
61
- # accept those instances when supplying a time point as a function/method argument.
62
- python-dateutil = "^2.8.2"
63
- matplotlib = "^3.6.2"
64
- pandas = "^2.2.2"
65
- pendulum = "^3.0.0"
58
+ # Essential dependencies
59
+ clr = "1.0.3"
60
+ deal = "^4.24.4"
61
+ numpy = "^1.26.4"
66
62
  option = "^2.1.0"
67
- deal = "^4.23.4"
68
- ipython = "^8.7.0"
69
63
  packaging = "^24.1"
64
+ pandas = "^2.2.2"
65
+ pendulum = "^3.0.0"
70
66
  pint = "^0.20.1"
71
- pyyaml = "^6.0"
72
- seaborn = "^0.12.1"
73
- toolz = "^0.12.0"
74
- typing-extensions = "^4.4.0"
75
- scipy = "^1.9.3"
67
+ python-dateutil = "^2.9.0"
68
+ pythonnet = "^3.0.3"
69
+ pyyaml = "^6.0.1"
70
+ toolz = "^0.12.1"
71
+ # optional dependencies
72
+ matplotlib = { version = "^3.7", optional = true }
73
+ ipython = { version = "^8.0", optional = true }
74
+ seaborn = { version = "^0.12", optional = true }
75
+ scipy = { version = "^1.10", optional = true }
76
+ jupyterlab-vim = { version = "*", optional = true }
76
77
 
77
78
  [tool.poetry.scripts]
78
79
  copy_orchid_examples = "copy_orchid_examples:main"
@@ -84,21 +85,22 @@ copy_orchid_manual_examples = "copy_orchid_manual_examples:main"
84
85
  Issues = "https://github.com/Reveal-Energy-Services/orchid-python-api/issues"
85
86
 
86
87
  [tool.poetry.group.dev.dependencies]
87
- platformdirs = "^4.2.2"
88
- fastjsonschema = "^2.20.0"
89
- pyhamcrest = "^2.0.4"
90
- behave = "^1.2.6"
91
- invoke = "^1.7.3"
92
- toml = "^0.10.2"
93
- grip = "^4.6.1"
94
- parsy = "^2.0"
95
- icecream = "^2.1.3"
96
- m2r2 = "^0.3.3"
97
- codetiming = "^1.4.0"
98
- sphinx = "^5.3.0"
99
- jupyterlab-vim = "^0.15.1"
100
- pytest = "^7.2.0"
101
- pytest-benchmark = "^4.0.0"
88
+ # Development tools for project contributors
89
+ # Testing frameworks
90
+ pyhamcrest = "*"
91
+ behave = "*"
92
+ pytest = "*"
93
+ pytest-benchmark = "*"
94
+
95
+ # Documentation and code quality tools
96
+ invoke = "*"
97
+ toml = "*"
98
+ grip = "*"
99
+ parsy = "*"
100
+ icecream = "*"
101
+ m2r2 = "*"
102
+ codetiming = "*"
103
+ sphinx = "*"
102
104
 
103
105
  [tool.pytest.ini_options]
104
106
  addopts = [
@@ -111,3 +113,13 @@ testpaths = [
111
113
  "tests",
112
114
  "benchmark_tests",
113
115
  ]
116
+
117
+ [tool.poetry.extras]
118
+ # Optional dependencies needed to run examples and tutorials
119
+ examples = [
120
+ "matplotlib",
121
+ "ipython",
122
+ "seaborn",
123
+ "scipy",
124
+ "jupyterlab-vim"
125
+ ]
@@ -1 +0,0 @@
1
- 5.24.4