modusa 0.3.43__tar.gz → 0.3.45__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.43 → modusa-0.3.45}/PKG-INFO +1 -1
- {modusa-0.3.43 → modusa-0.3.45}/pyproject.toml +1 -1
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/plotter.py +22 -17
- {modusa-0.3.43 → modusa-0.3.45}/LICENSE.md +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/README.md +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/.DS_Store +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/__init__.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/config.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/decorators.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/generate_docs_source.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/generate_template.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/list_authors.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/list_plugins.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/main.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/templates/generator.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/templates/io.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/templates/model.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/templates/plugin.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/templates/test.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/devtools/templates/tool.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/fonts/NotoSansDevanagari-Regular.ttf +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/generators/__init__.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/generators/audio.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/generators/audio_waveforms.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/generators/base.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/generators/ftds.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/generators/s1d.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/generators/s2d.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/generators/s_ax.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/generators/t_ax.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/generators/tds.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/__init__.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/__pycache__/signal1D.cpython-312.pyc.4443461152 +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/audio.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/base.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/data.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/ftds.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/s1d.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/s2d.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/s_ax.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/t_ax.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/models/tds.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/plugins/__init__.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/plugins/base.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/__init__.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/_plotter_old.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/ann_loader.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/audio_converter.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/audio_loader.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/audio_player.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/audio_recorder.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/base.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/math_ops.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/tools/youtube_downloader.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/utils/.DS_Store +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/utils/__init__.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/utils/config.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/utils/excp.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/utils/logger.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/utils/np_func_cat.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/src/modusa/utils/plot.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/__init__.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/data/song1.mp3 +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/data/song1.wav +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_generators/audio_waveform.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_generators/test_audio.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_generators/test_ftds.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_generators/test_s1d.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_generators/test_s2d.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_generators/test_s_ax.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_generators/test_signal.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_generators/test_signal_generator.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_generators/test_t_ax.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_generators/test_tds.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_io/audio_player.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_io/plotter.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_models/test_data.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_models/test_t_ax.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_plugins/youtube_audio_loader.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/frequency_domain_signal.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/spectrogram.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/test_axis.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/test_feature_time_domain_signal.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/test_frequency_time_domain_signal.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/test_signal1D.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/test_signal2D.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/test_time_domain_signal.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/test_u_ax.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/test_window_signal.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_signals/time_domain_signal.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_tools/test_audio_converter.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_tools/test_fourier_tranform.py +0 -0
- {modusa-0.3.43 → modusa-0.3.45}/tests/test_tools/test_math_ops.py +0 -0
| @@ -233,7 +233,7 @@ class Figure1D: | |
| 233 233 |  | 
| 234 234 | 
             
            				text_obj.set_clip_path(rect)
         | 
| 235 235 |  | 
| 236 | 
            -
            	def add_signal(self, y, x=None, c=None, ls="-", lw=1, m=None, ms= | 
| 236 | 
            +
            	def add_signal(self, y, x=None, c=None, ls="-", lw=1.5, m=None, ms=3, label="Signal"):
         | 
| 237 237 | 
             
            		"""
         | 
| 238 238 | 
             
            		Add signal to the figure.
         | 
| 239 239 |  | 
| @@ -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):
         | 
| 305 305 | 
             
            		"""
         | 
| 306 306 | 
             
            		Add meta info to the figure.
         | 
| 307 307 |  | 
| @@ -309,15 +309,15 @@ 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:  | 
| 320 | 
            +
            			- Default: None
         | 
| 321 321 |  | 
| 322 322 | 
             
            		Returns
         | 
| 323 323 | 
             
            		-------
         | 
| @@ -329,9 +329,12 @@ class Figure1D: | |
| 329 329 | 
             
            		ref_subplot = subplots[0]
         | 
| 330 330 | 
             
            		signal_subplot = subplots[-1]
         | 
| 331 331 |  | 
| 332 | 
            -
            		 | 
| 333 | 
            -
             | 
| 334 | 
            -
            		 | 
| 332 | 
            +
            		if title is not None:
         | 
| 333 | 
            +
            			ref_subplot.set_title(title, pad=10, size=14)
         | 
| 334 | 
            +
            		if ylabel is not None:
         | 
| 335 | 
            +
            			signal_subplot.set_ylabel(ylabel, size=10)
         | 
| 336 | 
            +
            		if xlabel is not None:
         | 
| 337 | 
            +
            			signal_subplot.set_xlabel(xlabel, size=10)
         | 
| 335 338 |  | 
| 336 339 |  | 
| 337 340 | 
             
            	def save(self, path="./figure.png"):
         | 
| @@ -620,7 +623,7 @@ class Figure2D: | |
| 620 623 |  | 
| 621 624 | 
             
            		self._add_colorbar(im=im, label=label)
         | 
| 622 625 |  | 
| 623 | 
            -
            	def add_signal(self, y, x=None, c=None, ls="-", lw=1, m="o", ms= | 
| 626 | 
            +
            	def add_signal(self, y, x=None, c=None, ls="-", lw=1.5, m="o", ms=3, label="Signal"):
         | 
| 624 627 | 
             
            		"""
         | 
| 625 628 | 
             
            		Add signal on the matrix.
         | 
| 626 629 |  | 
| @@ -690,7 +693,7 @@ class Figure2D: | |
| 690 693 | 
             
            		# remove duplicates if needed
         | 
| 691 694 | 
             
            		fig.legend(all_handles, all_labels, loc='upper right', bbox_to_anchor=(0.9, ypos), ncol=2, frameon=True, bbox_transform=fig.transFigure)
         | 
| 692 695 |  | 
| 693 | 
            -
            	def add_meta_info(self, title= | 
| 696 | 
            +
            	def add_meta_info(self, title=None, ylabel=None, xlabel=None):
         | 
| 694 697 | 
             
            		"""
         | 
| 695 698 | 
             
            		Add meta info to the figure.
         | 
| 696 699 |  | 
| @@ -698,15 +701,15 @@ class Figure2D: | |
| 698 701 | 
             
            		----------
         | 
| 699 702 | 
             
            		title: str
         | 
| 700 703 | 
             
            			- Title of the figure.
         | 
| 701 | 
            -
            			- Default:  | 
| 704 | 
            +
            			- Default: None
         | 
| 702 705 | 
             
            		ylabel: str
         | 
| 703 706 | 
             
            			- y label of the signal.
         | 
| 704 707 | 
             
            			- It will only appear in the signal subplot.
         | 
| 705 | 
            -
            			- Default:  | 
| 708 | 
            +
            			- Default: None
         | 
| 706 709 | 
             
            		xlabel: str
         | 
| 707 710 | 
             
            			- x label of the signal.
         | 
| 708 711 | 
             
            			- It will only appear in the signal subplot.
         | 
| 709 | 
            -
            			- Default:  | 
| 712 | 
            +
            			- Default: None
         | 
| 710 713 |  | 
| 711 714 | 
             
            		Returns
         | 
| 712 715 | 
             
            		-------
         | 
| @@ -718,10 +721,12 @@ class Figure2D: | |
| 718 721 | 
             
            		ref_subplot = subplots[0]
         | 
| 719 722 | 
             
            		signal_subplot = subplots[-1]
         | 
| 720 723 |  | 
| 721 | 
            -
            		 | 
| 722 | 
            -
             | 
| 723 | 
            -
            		 | 
| 724 | 
            -
             | 
| 724 | 
            +
            		if title is not None:
         | 
| 725 | 
            +
            			ref_subplot.set_title(title, pad=10, size=14)
         | 
| 726 | 
            +
            		if ylabel is not None:
         | 
| 727 | 
            +
            			signal_subplot.set_ylabel(ylabel, size=10)
         | 
| 728 | 
            +
            		if xlabel is not None:
         | 
| 729 | 
            +
            			signal_subplot.set_xlabel(xlabel, size=10)
         | 
| 725 730 |  | 
| 726 731 | 
             
            	def save(self, path="./figure.png"):
         | 
| 727 732 | 
             
            		"""
         | 
| 
            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.43 → modusa-0.3.45}/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
         |