Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.4%) to scientific vocabulary
Keywords from Contributors
Repository
Python implementation of MATLAB's msalign function
Basic Info
- Host: GitHub
- Owner: lukasz-migas
- License: apache-2.0
- Language: Python
- Default Branch: master
- Homepage: https://msalign.lukasz-migas.com/
- Size: 17.1 MB
Statistics
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 11
- Releases: 0
Metadata Files
README.md
msalign - signal calibration and alignment
This package was inspired by MATLAB's msalign function which allows alignment of multiple signals to reference peaks.
Installation
Install from PyPi
python
pip install msalign
Install directly from GitHub
python
pip install -e git+https://github.com/lukasz-migas/msalign.git
Install in development mode
python
python setup.py develop
Usage
Usage is relatively straightforward. Simply import msalign from the package and provide x, array
and peaks values. msalign accepts a lot of other parameters that might improve your alignment - simply provide them
as keyword parameters.
```python import numpy as np from msalign import msalign
filename = r"./exampledata/msaligntest_data.csv" data = np.genfromtxt(filename, delimiter=",") x = data[1:, 0] array = data[1:, 1:].T peaks = [3991.4, 4598, 7964, 9160]
aligned = msalign(x, array, peaks, weights=[60, 100, 60, 100], only_shift=False) ```

Zoom-in on each peak the spectrum was aligned against

Reference
Monchamp, P., Andrade-Cetto, L., Zhang, J.Y., and Henson, R. (2007) Signal Processing Methods for Mass Spectrometry. In Systems Bioinformatics: An Engineering Case-Based Approach, G. Alterovitz and M.F. Ramoni, eds. Artech House Publishers).
Citing msalign
If you find msalign useful in your research and wish to cite it, please use the following BibTex entry:
@software{msalign2024,
author = {Lukasz G. Migas},
title = {{msalign}: Spectral alignment based on MATLAB's `msalign` function.},
url = {https://github.com/lukasz-migas/msalign},
version = {0.2.0},
year = {2024},
}
Owner
- Name: Lukasz Migas
- Login: lukasz-migas
- Kind: user
- Location: Delft, NL
- Company: Delft University of Technology
- Website: https://lukasz-migas.com/
- Twitter: lgmigas
- Repositories: 11
- Profile: https://github.com/lukasz-migas
Postdoctoral Researcher at TU Delft. Interested in native and imaging mass spectrometry.
GitHub Events
Total
- Watch event: 3
- Delete event: 2
- Push event: 13
- Pull request event: 4
- Create event: 1
Last Year
- Watch event: 3
- Delete event: 2
- Push event: 13
- Pull request event: 4
- Create event: 1
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Lukasz Migas | l****s@y****m | 126 |
| Renovate Bot | b****t@r****m | 7 |
| ImgBotApp | I****p@g****m | 4 |
| pre-commit-ci[bot] | 6****] | 3 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 12
- Total pull requests: 45
- Average time to close issues: 3 months
- Average time to close pull requests: 4 months
- Total issue authors: 6
- Total pull request authors: 4
- Average comments per issue: 0.25
- Average comments per pull request: 0.73
- Merged pull requests: 18
- Bot issues: 1
- Bot pull requests: 40
Past Year
- Issues: 0
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 2
Top Authors
Issue Authors
- lukasz-migas (7)
- lisemureau (1)
- ranabanik (1)
- Shivangi1010 (1)
- renovate[bot] (1)
- komodovaran (1)
Pull Request Authors
- renovate[bot] (37)
- lukasz-migas (5)
- imgbot[bot] (4)
- pre-commit-ci[bot] (3)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 596 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 16
- Total maintainers: 1
pypi.org: msalign
msalign: Signal calibration and alignment by reference peaks
- Homepage: https://github.com/lukasz-migas/msalign
- Documentation: https://msalign.readthedocs.io/
- License: Apache license 2.0
-
Latest release: 0.2.0
published over 4 years ago
Rankings
Maintainers (1)
Dependencies
- markdown-changelog *
- mkdocs *
- mkdocs-material *
- actions/checkout v2 composite
- actions/checkout master composite
- actions/setup-python v2 composite
- actions/setup-python v1 composite
- codecov/codecov-action v1 composite
- pypa/gh-action-pypi-publish master composite