aperiosoftware / astropy

Repository for the Astropy core package
www.astropy.org
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Review of time series code during development #2

Closed astrofrog closed 4 years ago

astrofrog commented 6 years ago

About 📈

This PR is to show the current progress in the development of the proposed astropy.timeseries package based on the (still in progress) Astropy Proposal for Enhancements 9.

If you are interested in time series, please feel free to take a look at this PR, read the proposed documentation and try out the code - please do feel free to open pull requests against this branch if you would like to contribute any fixes/improvements!

Once there is a general consensus that this is on the right track, and has been polished up, a PR will be opened to the core astropy repository for a wider review.

Current status 🕐

The two main base classes (for sampled and binned time series) are in place, and we have some basic functionality such as stacking, resampling, and folding working already. The documentation is in reasonably good shape and is ready for some reviews.

Documentation 📖

If you are interested in reading the documentation, here is a preview - we could really do with some reviews to make sure we are on the right track!

The documentation is actually the most important aspect to review at the moment since the details of the implementation shouldn't matter (we can always optimize performance issues later). The documentation also acts as tests, so the functionality shown in the documentation works.

Things that are missing/incomplete currently 🚧

If you'd like to help with these, please leave a comment!

codecov-io commented 5 years ago

Codecov Report

Merging #2 into master will decrease coverage by <.01%. The diff coverage is 87.34%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
- Coverage   86.92%   86.91%   -0.01%     
==========================================
  Files         383      383              
  Lines       57823    57855      +32     
  Branches     1056     1056              
==========================================
+ Hits        50264    50287      +23     
- Misses       6945     6954       +9     
  Partials      614      614
Impacted Files Coverage Δ
astropy/table/table.py 92.93% <ø> (ø) :arrow_up:
astropy/nddata/ccddata.py 93.67% <ø> (ø) :arrow_up:
astropy/stats/bls/core.py 90.99% <ø> (ø) :arrow_up:
astropy/wcs/src/wcslib_wrap.c 65.67% <ø> (ø) :arrow_up:
astropy/convolution/kernels.py 97.38% <100%> (ø) :arrow_up:
astropy/visualization/hist.py 100% <100%> (ø) :arrow_up:
astropy/stats/bls/methods.py 100% <100%> (ø) :arrow_up:
astropy/utils/xml/src/iterparse.c 62.25% <100%> (ø) :arrow_up:
astropy/io/votable/src/tablewriter.c 60.6% <100%> (ø) :arrow_up:
astropy/stats/bls/bls.c 85.88% <100%> (+0.69%) :arrow_up:
... and 6 more

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 0725a5c...135a94a. Read the comment docs.

astrofrog commented 4 years ago

Closing since astropy.timeseries is now in astropy