Skip to content

Commit

Permalink
chore: rename branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed Apr 30, 2024
1 parent d487a25 commit 461cbea
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ name: Node.js CI
on:
push:
branches:
- master
- main
pull_request:

jobs:
nodejs:
# Documentation: https://github.com/zakodium/workflows#nodejs-ci
uses: zakodium/workflows/.github/workflows/nodejs.yml@nodejs-v1
with:
node-version-matrix: '[14, 16, 18]'
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
branches:
- master
- main

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Baseline correction using adaptive iteratively reweighted penalized least squares

It is an javascript implementation of [airpls](https://github.com/zmzhang/airPLS/blob/master/airPLS_manuscript.pdf) using cholesky decomposition and reverse Cuthill-Mckee method for reducing the bandwidth of sparse linear systems, obtaining a fast baseline fitter.
It is an javascript implementation of [airpls](https://github.com/zmzhang/airPLS/blob/main/airPLS_manuscript.pdf) using cholesky decomposition and reverse Cuthill-Mckee method for reducing the bandwidth of sparse linear systems, obtaining a fast baseline fitter.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var cuthillMckee = require('cuthill-mckee');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
function _interopDefaultLegacy(e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var cuthillMckee__default = /*#__PURE__*/_interopDefaultLegacy(cuthillMckee);

Expand Down Expand Up @@ -359,7 +359,7 @@ const getDeltaMatrix = (nbPoints, lambda) => {

/**
* Fit the baseline drift by iteratively changing weights of sum square error between the fitted baseline and original signals,
* for further information about the parameters you can get the [paper of airPLS](https://github.com/zmzhang/airPLS/blob/master/airPLS_manuscript.pdf)
* for further information about the parameters you can get the [paper of airPLS](https://github.com/zmzhang/airPLS/blob/main/airPLS_manuscript.pdf)
* @param {Array<number>} x - x axis data useful when control points or zones are submitted
* @param {Array<number>} y - Original data
* @param {object} [options={}] - Options object
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { updateSystem, getDeltaMatrix, getCloseIndex } from './utils';

/**
* Fit the baseline drift by iteratively changing weights of sum square error between the fitted baseline and original signals,
* for further information about the parameters you can get the [paper of airPLS](https://github.com/zmzhang/airPLS/blob/master/airPLS_manuscript.pdf)
* for further information about the parameters you can get the [paper of airPLS](https://github.com/zmzhang/airPLS/blob/main/airPLS_manuscript.pdf)
* @param {Array<number>} x - x axis data useful when control points or zones are submitted
* @param {Array<number>} y - Original data
* @param {object} [options={}] - Options object
Expand Down

0 comments on commit 461cbea

Please sign in to comment.