modusa 0.3.44__tar.gz → 0.3.46__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.
- {modusa-0.3.44 → modusa-0.3.46}/PKG-INFO +1 -1
- {modusa-0.3.44 → modusa-0.3.46}/pyproject.toml +1 -1
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/plotter.py +32 -16
- {modusa-0.3.44 → modusa-0.3.46}/LICENSE.md +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/README.md +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/.DS_Store +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/__init__.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/config.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/decorators.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/generate_docs_source.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/generate_template.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/list_authors.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/list_plugins.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/main.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/templates/generator.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/templates/io.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/templates/model.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/templates/plugin.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/templates/test.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/devtools/templates/tool.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/fonts/NotoSansDevanagari-Regular.ttf +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/generators/__init__.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/generators/audio.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/generators/audio_waveforms.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/generators/base.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/generators/ftds.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/generators/s1d.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/generators/s2d.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/generators/s_ax.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/generators/t_ax.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/generators/tds.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/__init__.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/__pycache__/signal1D.cpython-312.pyc.4443461152 +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/audio.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/base.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/data.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/ftds.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/s1d.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/s2d.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/s_ax.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/t_ax.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/tds.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/plugins/__init__.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/plugins/base.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/__init__.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/_plotter_old.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/ann_loader.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/audio_converter.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/audio_loader.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/audio_player.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/audio_recorder.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/base.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/math_ops.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/tools/youtube_downloader.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/utils/.DS_Store +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/utils/__init__.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/utils/config.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/utils/excp.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/utils/logger.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/utils/np_func_cat.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/src/modusa/utils/plot.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/__init__.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/data/song1.mp3 +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/data/song1.wav +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_generators/audio_waveform.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_generators/test_audio.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_generators/test_ftds.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_generators/test_s1d.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_generators/test_s2d.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_generators/test_s_ax.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_generators/test_signal.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_generators/test_signal_generator.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_generators/test_t_ax.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_generators/test_tds.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_io/audio_player.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_io/plotter.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_models/test_data.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_models/test_t_ax.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_plugins/youtube_audio_loader.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/frequency_domain_signal.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/spectrogram.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/test_axis.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/test_feature_time_domain_signal.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/test_frequency_time_domain_signal.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/test_signal1D.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/test_signal2D.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/test_time_domain_signal.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/test_u_ax.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/test_window_signal.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_signals/time_domain_signal.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_tools/test_audio_converter.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_tools/test_fourier_tranform.py +0 -0
- {modusa-0.3.44 → modusa-0.3.46}/tests/test_tools/test_math_ops.py +0 -0
| @@ -301,7 +301,7 @@ class Figure1D: | |
| 301 301 | 
             
            		# remove duplicates if needed
         | 
| 302 302 | 
             
            		fig.legend(all_handles, all_labels, loc='upper right', bbox_to_anchor=(0.9, ypos), ncol=2, frameon=True, bbox_transform=fig.transFigure)
         | 
| 303 303 |  | 
| 304 | 
            -
            	def add_meta_info(self, title= | 
| 304 | 
            +
            	def add_meta_info(self, title=None, ylabel=None, xlabel=None, ts=13, ls=11):
         | 
| 305 305 | 
             
            		"""
         | 
| 306 306 | 
             
            		Add meta info to the figure.
         | 
| 307 307 |  | 
| @@ -309,16 +309,21 @@ class Figure1D: | |
| 309 309 | 
             
            		----------
         | 
| 310 310 | 
             
            		title: str
         | 
| 311 311 | 
             
            			- Title of the figure.
         | 
| 312 | 
            -
            			- Default:  | 
| 312 | 
            +
            			- Default: None
         | 
| 313 313 | 
             
            		ylabel: str
         | 
| 314 314 | 
             
            			- y label of the signal.
         | 
| 315 315 | 
             
            			- It will only appear in the signal subplot.
         | 
| 316 | 
            -
            			- Default:  | 
| 316 | 
            +
            			- Default: None
         | 
| 317 317 | 
             
            		xlabel: str
         | 
| 318 318 | 
             
            			- x label of the signal.
         | 
| 319 319 | 
             
            			- It will only appear in the signal subplot.
         | 
| 320 | 
            -
            			- Default:  | 
| 321 | 
            -
             | 
| 320 | 
            +
            			- Default: None
         | 
| 321 | 
            +
            		ts: Number
         | 
| 322 | 
            +
            			- Title size
         | 
| 323 | 
            +
            			- Default: 10
         | 
| 324 | 
            +
            		ls: Number
         | 
| 325 | 
            +
            			- Label size.
         | 
| 326 | 
            +
            			- Default: 10
         | 
| 322 327 | 
             
            		Returns
         | 
| 323 328 | 
             
            		-------
         | 
| 324 329 | 
             
            		None
         | 
| @@ -329,9 +334,12 @@ class Figure1D: | |
| 329 334 | 
             
            		ref_subplot = subplots[0]
         | 
| 330 335 | 
             
            		signal_subplot = subplots[-1]
         | 
| 331 336 |  | 
| 332 | 
            -
            		 | 
| 333 | 
            -
             | 
| 334 | 
            -
            		 | 
| 337 | 
            +
            		if title is not None:
         | 
| 338 | 
            +
            			ref_subplot.set_title(title, pad=10, size=ts)
         | 
| 339 | 
            +
            		if ylabel is not None:
         | 
| 340 | 
            +
            			signal_subplot.set_ylabel(ylabel, size=ls)
         | 
| 341 | 
            +
            		if xlabel is not None:
         | 
| 342 | 
            +
            			signal_subplot.set_xlabel(xlabel, size=ls)
         | 
| 335 343 |  | 
| 336 344 |  | 
| 337 345 | 
             
            	def save(self, path="./figure.png"):
         | 
| @@ -690,7 +698,7 @@ class Figure2D: | |
| 690 698 | 
             
            		# remove duplicates if needed
         | 
| 691 699 | 
             
            		fig.legend(all_handles, all_labels, loc='upper right', bbox_to_anchor=(0.9, ypos), ncol=2, frameon=True, bbox_transform=fig.transFigure)
         | 
| 692 700 |  | 
| 693 | 
            -
            	def add_meta_info(self, title= | 
| 701 | 
            +
            	def add_meta_info(self, title=None, ylabel=None, xlabel=None, ts=13, ls=11):
         | 
| 694 702 | 
             
            		"""
         | 
| 695 703 | 
             
            		Add meta info to the figure.
         | 
| 696 704 |  | 
| @@ -698,15 +706,21 @@ class Figure2D: | |
| 698 706 | 
             
            		----------
         | 
| 699 707 | 
             
            		title: str
         | 
| 700 708 | 
             
            			- Title of the figure.
         | 
| 701 | 
            -
            			- Default:  | 
| 709 | 
            +
            			- Default: None
         | 
| 702 710 | 
             
            		ylabel: str
         | 
| 703 711 | 
             
            			- y label of the signal.
         | 
| 704 712 | 
             
            			- It will only appear in the signal subplot.
         | 
| 705 | 
            -
            			- Default:  | 
| 713 | 
            +
            			- Default: None
         | 
| 706 714 | 
             
            		xlabel: str
         | 
| 707 715 | 
             
            			- x label of the signal.
         | 
| 708 716 | 
             
            			- It will only appear in the signal subplot.
         | 
| 709 | 
            -
            			- Default:  | 
| 717 | 
            +
            			- Default: None
         | 
| 718 | 
            +
            		ts: Number
         | 
| 719 | 
            +
            			- Title size
         | 
| 720 | 
            +
            			- Default: 10
         | 
| 721 | 
            +
            		ls: Number
         | 
| 722 | 
            +
            			- Label size.
         | 
| 723 | 
            +
            			- Default: 10
         | 
| 710 724 |  | 
| 711 725 | 
             
            		Returns
         | 
| 712 726 | 
             
            		-------
         | 
| @@ -718,10 +732,12 @@ class Figure2D: | |
| 718 732 | 
             
            		ref_subplot = subplots[0]
         | 
| 719 733 | 
             
            		signal_subplot = subplots[-1]
         | 
| 720 734 |  | 
| 721 | 
            -
            		 | 
| 722 | 
            -
             | 
| 723 | 
            -
            		 | 
| 724 | 
            -
             | 
| 735 | 
            +
            		if title is not None:
         | 
| 736 | 
            +
            			ref_subplot.set_title(title, pad=10, size=ts)
         | 
| 737 | 
            +
            		if ylabel is not None:
         | 
| 738 | 
            +
            			signal_subplot.set_ylabel(ylabel, size=ls)
         | 
| 739 | 
            +
            		if xlabel is not None:
         | 
| 740 | 
            +
            			signal_subplot.set_xlabel(xlabel, size=ls)
         | 
| 725 741 |  | 
| 726 742 | 
             
            	def save(self, path="./figure.png"):
         | 
| 727 743 | 
             
            		"""
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
    
        {modusa-0.3.44 → modusa-0.3.46}/src/modusa/models/__pycache__/signal1D.cpython-312.pyc.4443461152
    RENAMED
    
    | 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         |