tts-dtat 0.2.3__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 (40) hide show
  1. tts_dtat-0.2.3/.gitignore +39 -0
  2. tts_dtat-0.2.3/PKG-INFO +62 -0
  3. tts_dtat-0.2.3/README.md +41 -0
  4. tts_dtat-0.2.3/__init__.py +0 -0
  5. tts_dtat-0.2.3/docs/conf.py +71 -0
  6. tts_dtat-0.2.3/examples/dtat_cookbook.ipynb +193454 -0
  7. tts_dtat-0.2.3/license.md +14 -0
  8. tts_dtat-0.2.3/lttb_experiment.ipynb +199 -0
  9. tts_dtat-0.2.3/pyproject.toml +38 -0
  10. tts_dtat-0.2.3/setup.cfg +4 -0
  11. tts_dtat-0.2.3/setup.py +7 -0
  12. tts_dtat-0.2.3/src/tts_dtat/__init__.py +0 -0
  13. tts_dtat-0.2.3/src/tts_dtat/commonchartfuncs.py +137 -0
  14. tts_dtat-0.2.3/src/tts_dtat/datachecker.py +70 -0
  15. tts_dtat-0.2.3/src/tts_dtat/dataconnectors/__init__.py +0 -0
  16. tts_dtat-0.2.3/src/tts_dtat/dataconnectors/csvconnector.py +85 -0
  17. tts_dtat-0.2.3/src/tts_dtat/datainterpolator.py +102 -0
  18. tts_dtat-0.2.3/src/tts_dtat/demo_data.py +81 -0
  19. tts_dtat-0.2.3/src/tts_dtat/dtatdata.py +244 -0
  20. tts_dtat-0.2.3/src/tts_dtat/mouseover_maker.py +112 -0
  21. tts_dtat-0.2.3/src/tts_dtat/palette.py +251 -0
  22. tts_dtat-0.2.3/src/tts_dtat/plot.py +686 -0
  23. tts_dtat-0.2.3/src/tts_dtat/test/__init__.py +0 -0
  24. tts_dtat-0.2.3/src/tts_dtat/test/test_commonchartfuncs.py +122 -0
  25. tts_dtat-0.2.3/src/tts_dtat/test/test_csvconnector.py +116 -0
  26. tts_dtat-0.2.3/src/tts_dtat/test/test_datachecker.py +100 -0
  27. tts_dtat-0.2.3/src/tts_dtat/test/test_datainterpolator.py +110 -0
  28. tts_dtat-0.2.3/src/tts_dtat/test/test_demo_data.py +66 -0
  29. tts_dtat-0.2.3/src/tts_dtat/test/test_dtatdata.py +123 -0
  30. tts_dtat-0.2.3/src/tts_dtat/test/test_files/sampledata.csv +3001 -0
  31. tts_dtat-0.2.3/src/tts_dtat/test/test_mouseover_maker.py +90 -0
  32. tts_dtat-0.2.3/src/tts_dtat/test/test_palette.py +127 -0
  33. tts_dtat-0.2.3/src/tts_dtat/test/test_plot.py +151 -0
  34. tts_dtat-0.2.3/src/tts_dtat/test/test_types.py +54 -0
  35. tts_dtat-0.2.3/src/tts_dtat/types.py +81 -0
  36. tts_dtat-0.2.3/src/tts_dtat.egg-info/PKG-INFO +62 -0
  37. tts_dtat-0.2.3/src/tts_dtat.egg-info/SOURCES.txt +38 -0
  38. tts_dtat-0.2.3/src/tts_dtat.egg-info/dependency_links.txt +1 -0
  39. tts_dtat-0.2.3/src/tts_dtat.egg-info/requires.txt +10 -0
  40. tts_dtat-0.2.3/src/tts_dtat.egg-info/top_level.txt +1 -0
@@ -0,0 +1,39 @@
1
+ # Environments
2
+ .env
3
+ .venv
4
+ env/
5
+ venv/
6
+ ENV/
7
+ env.bak/
8
+ venv.bak/
9
+
10
+ # Distribution / packaging
11
+ .Python
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # Jupyter Notebook
30
+ .ipynb_checkpoints
31
+
32
+ # OS files
33
+ .DS_Store
34
+ ._*
35
+
36
+ # Byte-compiled / optimized / DLL files
37
+ __pycache__/
38
+ *.py[cod]
39
+ *$py.class
@@ -0,0 +1,62 @@
1
+ Metadata-Version: 2.4
2
+ Name: tts-dtat
3
+ Version: 0.2.3
4
+ Summary: Data Trending and Analysis Tool Library
5
+ Author: winner
6
+ Author-email: winner <emily.winner@jpl.nasa.gov>, muszynsk <matt.muszynski@jpl.nasa.gov>
7
+ License: Apache-2.0
8
+ Project-URL: Homepage, https://github.com/NASA-JPL-Teamtools-Studio/tts_dtat
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Requires-Python: >=3.6
12
+ Description-Content-Type: text/markdown
13
+ Requires-Dist: nbformat>=4.2.0
14
+ Requires-Dist: plotly>=5.14
15
+ Requires-Dist: pytest
16
+ Requires-Dist: pandas>=2.0.0; python_version >= "3.9"
17
+ Requires-Dist: pandas>=1.1.0; python_version < "3.9"
18
+ Requires-Dist: tts-utilities
19
+ Dynamic: author
20
+ Dynamic: requires-python
21
+
22
+ # DTAT
23
+
24
+ ![Project logo](https://github.com/NASA-JPL-Teamtools-Studio/teamtools_documentation/blob/main/docs/images/tts_image_artifacts/dtat.png)
25
+
26
+ ## About Teamtools Studio
27
+
28
+ Teamtools Studio Utilities is part of JPL's Teamtools Studio (TTS).
29
+
30
+ TTS is an effort originated in JPL's Planning and Execution section to centralize shared repositories across missions. This benefits JPL by reducing cost through reducing duplicated code, collaborating across missions, and unifying standards for development and design across JPL.
31
+
32
+ Although Planning and Execution is primarily concerned with flight operations, the TTS suite has been generalized and atomized to the point where many of these tools are applicable during other mission phases and even in non-spaceflight contexts. Through our work flying space missions, we hope to provide tools to the open source community that have utility in data analysis or planning for any complex system where failure is not an option.
33
+
34
+ For more infomation on how to contribute, and how these libraries form a complete ecosystem for high reliability data analysis, see the [Full TTS Documentation](https://nasa-jpl-teamtools-studio.github.io/teamtools-documentation/).
35
+
36
+ ## What is DTAT?
37
+
38
+ ### Overview
39
+
40
+ DTAT is the TTS solution to complex plotting. It is largely an extension of Plotly. Although we love Plotly and use it often,
41
+ one of the problems with such libraries is that they are so open ended that they take significant expertise in order to
42
+ create maintainable, reusable code.
43
+
44
+ DTAT wraps Plotly to handle common plotting issues with a more user friendly interface. It is not as flexible as raw Plotly,
45
+ but it is significantly easier to grab out of the box and use.
46
+
47
+ Furthermore, there are some known challenges with Plotly that every user hits and average developers struggle to overcome. DTAT
48
+ is a place where we can encode lessons learned about these limitations so not every user who wants to make a plot needs to
49
+ overcome them.
50
+
51
+ ### Projects Currently Supported
52
+
53
+ * Europa Clipper
54
+ * Mars Sample Return
55
+ * Orbiting Carbon Observatory 2
56
+ * Mars 2020
57
+
58
+ ## Architecture
59
+
60
+ ### TTS dependencies
61
+
62
+ * TTS Utilities
@@ -0,0 +1,41 @@
1
+ # DTAT
2
+
3
+ ![Project logo](https://github.com/NASA-JPL-Teamtools-Studio/teamtools_documentation/blob/main/docs/images/tts_image_artifacts/dtat.png)
4
+
5
+ ## About Teamtools Studio
6
+
7
+ Teamtools Studio Utilities is part of JPL's Teamtools Studio (TTS).
8
+
9
+ TTS is an effort originated in JPL's Planning and Execution section to centralize shared repositories across missions. This benefits JPL by reducing cost through reducing duplicated code, collaborating across missions, and unifying standards for development and design across JPL.
10
+
11
+ Although Planning and Execution is primarily concerned with flight operations, the TTS suite has been generalized and atomized to the point where many of these tools are applicable during other mission phases and even in non-spaceflight contexts. Through our work flying space missions, we hope to provide tools to the open source community that have utility in data analysis or planning for any complex system where failure is not an option.
12
+
13
+ For more infomation on how to contribute, and how these libraries form a complete ecosystem for high reliability data analysis, see the [Full TTS Documentation](https://nasa-jpl-teamtools-studio.github.io/teamtools-documentation/).
14
+
15
+ ## What is DTAT?
16
+
17
+ ### Overview
18
+
19
+ DTAT is the TTS solution to complex plotting. It is largely an extension of Plotly. Although we love Plotly and use it often,
20
+ one of the problems with such libraries is that they are so open ended that they take significant expertise in order to
21
+ create maintainable, reusable code.
22
+
23
+ DTAT wraps Plotly to handle common plotting issues with a more user friendly interface. It is not as flexible as raw Plotly,
24
+ but it is significantly easier to grab out of the box and use.
25
+
26
+ Furthermore, there are some known challenges with Plotly that every user hits and average developers struggle to overcome. DTAT
27
+ is a place where we can encode lessons learned about these limitations so not every user who wants to make a plot needs to
28
+ overcome them.
29
+
30
+ ### Projects Currently Supported
31
+
32
+ * Europa Clipper
33
+ * Mars Sample Return
34
+ * Orbiting Carbon Observatory 2
35
+ * Mars 2020
36
+
37
+ ## Architecture
38
+
39
+ ### TTS dependencies
40
+
41
+ * TTS Utilities
File without changes
@@ -0,0 +1,71 @@
1
+ # TTS-specifc add ons
2
+ from pathlib import Path
3
+ from datetime import datetime
4
+ from setuptools_scm import get_version
5
+ import toml
6
+
7
+ # Configuration file for the Sphinx documentation builder.
8
+ #
9
+ # This file only contains a selection of the most common options. For a full
10
+ # list see the documentation:
11
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
12
+
13
+ # -- Path setup --------------------------------------------------------------
14
+
15
+ # If extensions (or modules to document with autodoc) are in another directory,
16
+ # add these directories to sys.path here. If the directory is relative to the
17
+ # documentation root, use os.path.abspath to make it absolute, like shown here.
18
+ #
19
+
20
+ import os
21
+ import sys
22
+ import importlib.metadata
23
+ sys.path.insert(0, os.path.abspath('..'))
24
+
25
+ # -- Project information -----------------------------------------------------
26
+
27
+ pyproject = toml.load(Path(__file__).parent.parent.joinpath("pyproject.toml"))
28
+ project = pyproject["project"]["name"]
29
+ release = get_version(root='..', relative_to=__file__)
30
+ version = '.'.join(release.split('.')[:2])
31
+
32
+ copyright = f'{datetime.now().strftime('%Y')} JPL'
33
+ author = 'JPL Teamtools Studio'
34
+
35
+
36
+ # -- General configuration ---------------------------------------------------
37
+
38
+ # Add any Sphinx extension module names here, as strings. They can be
39
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
40
+ # ones.
41
+ extensions = ['sphinx.ext.autodoc']
42
+
43
+ # Add any paths that contain templates here, relative to this directory.
44
+ templates_path = ['_templates']
45
+
46
+ # List of patterns, relative to source directory, that match files and
47
+ # directories to ignore when looking for source files.
48
+ # This pattern also affects html_static_path and html_extra_path.
49
+ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
50
+
51
+ # The master toctree document.
52
+ master_doc = 'index'
53
+
54
+ pygments_style = 'sphinx'
55
+ # html_theme = 'nature'
56
+ # html_theme = 'sphinx_material'
57
+ html_theme = 'pydata_sphinx_theme'
58
+
59
+ # -- Options for HTML output -------------------------------------------------
60
+
61
+ # The theme to use for HTML and HTML Help pages. See the documentation for
62
+ # a list of builtin themes.
63
+ #
64
+
65
+ # Add any paths that contain custom static files (such as style sheets) here,
66
+ # relative to this directory. They are copied after the builtin static files,
67
+ # so a file named "default.css" will overwrite the builtin "default.css".
68
+ html_static_path = ['_static']
69
+ html_css_files = ['bugfix.css']
70
+ html_copy_source = False
71
+ html_show_sourcelink = False