tmancal74 / quantarhei

Open Quantum System Theory for Molecular Systems
MIT License
21 stars 16 forks source link

Adding 0 padding to 2D #116

Closed foxfoxfox7 closed 4 years ago

foxfoxfox7 commented 4 years ago

Functionality to do 0 padding in 2d code. You add pad = (number of 0s) in the bootstrap line. It uses a Tuckey window to scale down the last 20 points of data. Not sure if you'd want the window to be flexible but this is a start.

codecov[bot] commented 4 years ago

Codecov Report

Merging #116 into master will decrease coverage by 0.05%. The diff coverage is 3.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #116      +/-   ##
==========================================
- Coverage   39.08%   39.02%   -0.06%     
==========================================
  Files         111      111              
  Lines       15235    15257      +22     
==========================================
  Hits         5954     5954              
- Misses       9281     9303      +22     
Impacted Files Coverage Δ
quantarhei/spectroscopy/twodcalculator.py 12.19% <3.84%> (-1.47%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b32f852...48d2339. Read the comment docs.

foxfoxfox7 commented 4 years ago

The v_print should be ('padding by -' + str(self.pad)) Not ('padding by -', self.pad) oops