• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

int-brain-lab / ibleatools / 16444807929

22 Jul 2025 12:50PM UTC coverage: 48.562% (+2.4%) from 46.207%
16444807929

push

github

web-flow
Added aggregation methods for the features (#21)

* Added aggregation functions and their tests

* Changes made -
1. Made the concept of snippet_level_dir as a relative path, in reference to the output directory. Earlier it was absolute paths. And would have made it difficult, if the output datasets need to be moved to a different location or a computer.

2. Changed the extension of all the parquet files that were getting produced to .pqt  instead of .parquet to make it consistent with the previous repositiry.

3. Added different aggregation strategies for different features. spike_counts =  Replacement of Nan with 0 and then taking mean, channel_labels = mode, rest = nanmedian.

4. To avoid the pandas Warning , I have changed to direct column assignment when deonising a feature in the features.py file::denoise_dataframe function.

* Added file locking mechanism for reading and writing channels.parquet file

* Changed the transformation of spike_count. Now log(spike_count) returns np.nan instead of np.inf, when spike_count is 0

* ruff formatting

* switch from ruff-action to dependency-based ruff check

726 of 1495 relevant lines covered (48.56%)

0.97 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.23
/aggregation.py


Source Not Available

The file "aggregation.py" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc