Skip to main content

Tools for coding.

Project description

CodingToolBox

github:

CodingToolBox

Requires:

  • Python 3.6 (or above)
  • numpy

Update dialog

  • 1.0.0: Upload package.
  • 1.1.0: Add two methods: ask_file_popup, ask_folder_popup
  • 1.2.0: Add method: install_checker
    • 1.2.1: Edit copy in var_form.
    • 1.2.2: Fix init bug.
    • 1.2.3: Fix bug at DetailRecorder.
    • 1.2.4: Fix bug at DetailRecorder.
  • 1.3.0: Add method: cal_SNR.
    • 1.3.1: Fix bug at cal_SNR.
    • 1.3.2: Use importlib.util.find_spec instead of ModuleNotFoundError.
  • 1.4.0: Add module: TorchLoss, contains various of loss function including MSE, RMSE, MAPE, MAE, SNR and SSIM.
  • 2.0.0: Rewrite library, remove AnimatedPlot.
    • 2.0.1: Fixed bug.

Lib Description

Lib Structure

  • CodingToolBox
    • get_peak: Get indices and values of peaks of periodical signal by automatic multiscale-based peak detection (AMPD) algorithm.
    • DetailRecorder: Convenient recording tool.
    • raw_var: Return raw variable string that can easily be used in another script.
    • TkMethods: Methods based on tkinter.
      • ask_file: Popup menu for asking file location.
      • ask_folder: Popup menu for asking folder location.
    • Math: Math module.
      • norm_p: Return norm.
      • sqrt: Support negative value.
    • NpLoss: Loss function (NumPy version).
      • MAE: mean absulate error.
      • MAPE: mean absolute percentage error.
      • MSE: mean square error.
      • RMSE: root mean square error.
      • SNR: signal-to-noise ratio.
      • SSIM: structural similarity index.
    • TorchLoss: Loss function (PyTorch version).
      • MAE: mean absulate error.
      • MAPE: mean absolute percentage error.
      • MSE: mean square error.
      • RMSE: root mean square error.
      • SNR: signal-to-noise ratio.
      • SSIM: structural similarity index.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for CodingToolBox, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size CodingToolBox-2.0.1.tar.gz (6.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page