funcnodes-span 1.0.0__tar.gz → 1.0.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 (50) hide show
  1. funcnodes_span-1.0.2/.funcnodes/config.json +29 -0
  2. funcnodes_span-1.0.2/.funcnodes/config.json.bu +29 -0
  3. funcnodes_span-1.0.2/.funcnodes/workers/worker_819786f45cc247a7b086ce71d030df11/main.py +6 -0
  4. funcnodes_span-1.0.2/.funcnodes/workers/worker_819786f45cc247a7b086ce71d030df11/nodespace.json +1 -0
  5. funcnodes_span-1.0.2/.funcnodes/workers/worker_819786f45cc247a7b086ce71d030df11/pyproject.toml +15 -0
  6. funcnodes_span-1.0.2/.funcnodes/workers/worker_819786f45cc247a7b086ce71d030df11/uv.lock +1764 -0
  7. funcnodes_span-1.0.2/.funcnodes/workers/worker_819786f45cc247a7b086ce71d030df11.json +1 -0
  8. funcnodes_span-1.0.2/.funcnodes/workers/worker_819786f45cc247a7b086ce71d030df11.p +1 -0
  9. funcnodes_span-1.0.2/.funcnodes/workers/worker_demoworker/nodespace.json +1 -0
  10. funcnodes_span-1.0.2/.funcnodes/workers/worker_demoworker.json +1 -0
  11. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/.pre-commit-config.yaml +4 -4
  12. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/PKG-INFO +1 -1
  13. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/pyproject.toml +20 -32
  14. funcnodes_span-1.0.2/reports/mypy-baseline.txt +782 -0
  15. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/__init__.py +1 -1
  16. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/peak_analysis.py +57 -16
  17. funcnodes_span-1.0.2/tests/test_normalization.py +161 -0
  18. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/tests/test_peak_analysis.py +3 -1
  19. funcnodes_span-1.0.2/tests/test_peaks.py +365 -0
  20. funcnodes_span-1.0.2/uv.lock +2321 -0
  21. funcnodes_span-1.0.0/tests/test_normalization.py +0 -37
  22. funcnodes_span-1.0.0/uv.lock +0 -1956
  23. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/.flake8 +0 -0
  24. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/.github/actions/install_package/action.yml +0 -0
  25. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/.github/workflows/py_test.yml +0 -0
  26. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/.github/workflows/version_publish_main.yml +0 -0
  27. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/.gitignore +0 -0
  28. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/.vscode/settings.json +0 -0
  29. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/CHANGELOG.md +0 -0
  30. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/LICENSE +0 -0
  31. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/MANIFEST.in +0 -0
  32. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/README.md +0 -0
  33. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/THIRD_PARTY_NOTICES.md +0 -0
  34. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/pytest.ini +0 -0
  35. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/_baseline.py +0 -0
  36. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/_curves.py +0 -0
  37. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/_smoothing.py +0 -0
  38. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/baseline.py +0 -0
  39. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/curves.py +0 -0
  40. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/fitting.py +0 -0
  41. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/normalization.py +0 -0
  42. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/peaks.py +0 -0
  43. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/src/funcnodes_span/smoothing.py +0 -0
  44. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/tests/__init__.py +0 -0
  45. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/tests/all_nodes_test_base.py +0 -0
  46. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/tests/test_all_nodes.py +0 -0
  47. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/tests/test_baseline.py +0 -0
  48. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/tests/test_curves.py +0 -0
  49. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/tests/test_fit.py +0 -0
  50. {funcnodes_span-1.0.0 → funcnodes_span-1.0.2}/tests/test_smoothing.py +0 -0
@@ -0,0 +1,29 @@
1
+ {
2
+ "env_dir": "/Users/kouroshmini/.funcnodes/env",
3
+ "worker_manager": {
4
+ "host": "localhost",
5
+ "port": 9380
6
+ },
7
+ "frontend": {
8
+ "port": 8000,
9
+ "host": "localhost"
10
+ },
11
+ "nodes": {
12
+ "default_pretrigger_delay": 0.01
13
+ },
14
+ "logging": {
15
+ "handler": {
16
+ "console": {
17
+ "handlerclass": "logging.StreamHandler",
18
+ "options": {}
19
+ },
20
+ "file": {
21
+ "handlerclass": "logging.handlers.RotatingFileHandler",
22
+ "options": {
23
+ "maxBytes": 5242880,
24
+ "backupCount": 5
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "env_dir": "/Users/kouroshmini/.funcnodes/env",
3
+ "worker_manager": {
4
+ "host": "localhost",
5
+ "port": 9380
6
+ },
7
+ "frontend": {
8
+ "port": 8000,
9
+ "host": "localhost"
10
+ },
11
+ "nodes": {
12
+ "default_pretrigger_delay": 0.01
13
+ },
14
+ "logging": {
15
+ "handler": {
16
+ "console": {
17
+ "handlerclass": "logging.StreamHandler",
18
+ "options": {}
19
+ },
20
+ "file": {
21
+ "handlerclass": "logging.handlers.RotatingFileHandler",
22
+ "options": {
23
+ "maxBytes": 5242880,
24
+ "backupCount": 5
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,6 @@
1
+ def main():
2
+ print("Hello from worker-819786f45cc247a7b086ce71d030df11!")
3
+
4
+
5
+ if __name__ == "__main__":
6
+ main()
@@ -0,0 +1 @@
1
+ {"backend": {"nodes": [{"name": "FileUploadNode(0ccc661ceaa3449e8720caf4ea2e574d)", "id": "0ccc661ceaa3449e8720caf4ea2e574d", "node_id": "files.upl", "node_name": "File Upload", "io": {"parent": {"is_input": true, "emit_value_set": true, "does_trigger": false}, "input_data": {"is_input": true, "emit_value_set": true, "default": "1_CH1.tif"}, "load": {"is_input": true, "emit_value_set": true, "does_trigger": false}, "save": {"is_input": true, "emit_value_set": true, "does_trigger": false}, "data": {"is_input": false, "emit_value_set": true}, "file": {"is_input": false, "emit_value_set": true}, "_triggeroutput": {"name": "\u27a1", "is_input": false, "hidden": true, "emit_value_set": false}}, "properties": {"frontend:size": [250, 290], "frontend:pos": [931.1070631039272, 926.1919118798821]}}, {"name": "FromBytes(70a246e45e23457ab76bb16edbe611a8)", "id": "70a246e45e23457ab76bb16edbe611a8", "node_id": "image.from_bytes", "node_name": "From Bytes", "io": {"data": {"is_input": true, "emit_value_set": true}, "img": {"is_input": false, "emit_value_set": true}, "_triggeroutput": {"name": "\u27a1", "is_input": false, "hidden": true, "emit_value_set": false}}, "render_options": {"data": {"src": "img", "type": "image"}}, "properties": {"frontend:size": [250, 329], "frontend:pos": [1242.6787377338712, 506.56354816242674]}}, {"name": "ToArray(2f9cb1814a224cb2afa2ffe60906ff67)", "id": "2f9cb1814a224cb2afa2ffe60906ff67", "node_id": "image.to_array", "node_name": "To Array", "io": {"img": {"is_input": true, "emit_value_set": true}, "array": {"is_input": false, "emit_value_set": true}, "_triggeroutput": {"name": "\u27a1", "is_input": false, "hidden": true, "emit_value_set": false}}, "properties": {"frontend:size": [250, 133], "frontend:pos": [1573.4057890090608, 642.2743514203529]}}, {"name": "FileUploadNode(0fce3340086f4cedb09626fc69936cda)", "id": "0fce3340086f4cedb09626fc69936cda", "node_id": "files.upl", "node_name": "File Upload", "io": {"parent": {"is_input": true, "emit_value_set": true, "does_trigger": false}, "input_data": {"is_input": true, "emit_value_set": true, "default": "1_CH2.tif"}, "load": {"is_input": true, "emit_value_set": true, "does_trigger": false}, "save": {"is_input": true, "emit_value_set": true, "does_trigger": false, "default": true}, "data": {"is_input": false, "emit_value_set": true}, "file": {"is_input": false, "emit_value_set": true}, "_triggeroutput": {"name": "\u27a1", "is_input": false, "hidden": true, "emit_value_set": false}}, "properties": {"frontend:size": [250, 290], "frontend:pos": [927.6783488886006, 1100.8014655903983]}}, {"name": "FromBytes(90071f7204a743a3898cb62906eaf2e5)", "id": "90071f7204a743a3898cb62906eaf2e5", "node_id": "image.from_bytes", "node_name": "From Bytes", "io": {"data": {"is_input": true, "emit_value_set": true}, "img": {"is_input": false, "emit_value_set": true}, "_triggeroutput": {"name": "\u27a1", "is_input": false, "hidden": true, "emit_value_set": false}}, "render_options": {"data": {"src": "img", "type": "image"}}, "properties": {"frontend:pos": [1247.5104847229131, 1085.64354446081], "frontend:size": [250, 329]}}, {"name": "ToArray(b74012af705c484c9bc98b073d29d60b)", "id": "b74012af705c484c9bc98b073d29d60b", "node_id": "image.to_array", "node_name": "To Array", "io": {"img": {"is_input": true, "emit_value_set": true}, "array": {"is_input": false, "emit_value_set": true}, "_triggeroutput": {"name": "\u27a1", "is_input": false, "hidden": true, "emit_value_set": false}}, "properties": {"frontend:size": [250, 133], "frontend:pos": [1580.2268535173753, 1098.5277774209599]}}, {"name": "FileUploadNode(3e35a6ca1c53481d9ebcf2fee129cbfd)", "id": "3e35a6ca1c53481d9ebcf2fee129cbfd", "node_id": "files.upl", "node_name": "File Upload", "io": {"parent": {"is_input": true, "emit_value_set": true, "does_trigger": false}, "input_data": {"is_input": true, "emit_value_set": true, "default": "fl_normalized_intensities.csv"}, "load": {"is_input": true, "emit_value_set": true, "does_trigger": false}, "save": {"is_input": true, "emit_value_set": true, "does_trigger": false}, "data": {"is_input": false, "emit_value_set": true}, "file": {"is_input": false, "emit_value_set": true}, "_triggeroutput": {"name": "\u27a1", "is_input": false, "hidden": true, "emit_value_set": false}}, "properties": {"frontend:pos": [932.9836212839562, 926.4853726001328], "frontend:size": [250, 290]}}, {"name": "From csvNode(ad9094ec0f4b474ab6df79a3e6162daa)", "id": "ad9094ec0f4b474ab6df79a3e6162daa", "node_id": "pd.df_from_csv_str", "node_name": "From CSV", "io": {"source": {"is_input": true, "emit_value_set": true}, "sep": {"is_input": true, "emit_value_set": true}, "decimal": {"is_input": true, "emit_value_set": true}, "thousands": {"is_input": true, "hidden": true, "emit_value_set": true}, "skiprows": {"is_input": true, "hidden": true, "emit_value_set": true}, "encoding": {"is_input": true, "hidden": true, "emit_value_set": true}, "df": {"is_input": false, "emit_value_set": true}, "_triggeroutput": {"name": "\u27a1", "is_input": false, "hidden": true, "emit_value_set": false}}, "properties": {"frontend:size": [250, 238], "frontend:pos": [1942.5011685145353, 816.590444410618]}}, {"name": "Plot multiple dataNode(d574df4026a44a77a633dd66803e2657)", "id": "d574df4026a44a77a633dd66803e2657", "node_id": "plotly.express.multidata", "node_name": "Plot Multiple Data", "io": {"data": {"is_input": true, "emit_value_set": true}, "x": {"is_input": true, "value_options": {"options": ["index", "Time steps", "F2_NP_D", "F2_NP_E", "F2_NP_F", "M2_NPA", "M2_NPB", "M2_NPC", "F2_BSM170B", "M2_BSM170A"]}, "emit_value_set": true, "default": "Time steps"}, "mode": {"is_input": true, "emit_value_set": true}, "stack": {"is_input": true, "emit_value_set": true, "default": true}, "figure": {"is_input": false, "emit_value_set": true}, "_triggeroutput": {"name": "\u27a1", "is_input": false, "hidden": true, "emit_value_set": false}}, "render_options": {"data": {"src": "figure"}}, "properties": {"frontend:size": [250, 561], "frontend:pos": [2335.8492218273514, 655.9164804369823]}}], "edges": [["0ccc661ceaa3449e8720caf4ea2e574d", "data", "70a246e45e23457ab76bb16edbe611a8", "data"], ["70a246e45e23457ab76bb16edbe611a8", "img", "2f9cb1814a224cb2afa2ffe60906ff67", "img"], ["0fce3340086f4cedb09626fc69936cda", "data", "90071f7204a743a3898cb62906eaf2e5", "data"], ["90071f7204a743a3898cb62906eaf2e5", "img", "b74012af705c484c9bc98b073d29d60b", "img"], ["3e35a6ca1c53481d9ebcf2fee129cbfd", "data", "ad9094ec0f4b474ab6df79a3e6162daa", "source"], ["ad9094ec0f4b474ab6df79a3e6162daa", "df", "d574df4026a44a77a633dd66803e2657", "data"]], "prop": {}, "groups": {}}, "view": {"renderoptions": {"typemap": {"funcnodes_images._numpy.NumpyImageFormat": "image", "funcnodes_images._pillow.PillowImageFormat": "image", "funcnodes_images.imagecontainer.ImageFormat": "image", "numpy.ndarray": "str", "pandas.core.frame.DataFrame": "table", "pandas.core.series.Series": "list", "plotly.graph_objs._figure.Figure": "plotly.Figure"}, "inputconverter": {"numpy.ndarray": "str_to_json"}}}, "meta": {"id": "08c6ab0ce0404f18950774e03c5146d7", "version": "1.0.5"}, "dependencies": {"modules": []}, "external_workers": {}}
@@ -0,0 +1,15 @@
1
+ [project]
2
+ name = "worker-819786f45cc247a7b086ce71d030df11"
3
+ version = "0.1.0"
4
+ description = "A Funcnodes worker environment"
5
+ requires-python = ">=3.11"
6
+ dependencies = [
7
+ "funcnodes>=1.0.2",
8
+ "funcnodes-core>=1.0.5",
9
+ "funcnodes-files>=1.0.0",
10
+ "funcnodes-images>=0.2.6",
11
+ "funcnodes-pandas>=0.4.0",
12
+ "funcnodes-plotly>=1.0.0",
13
+ "funcnodes-worker>=1.0.0",
14
+ "pip>=25.2",
15
+ ]