Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
denoising
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aqdl
denoising
Commits
ea5b544e
Commit
ea5b544e
authored
2 years ago
by
macondiano4ever
Browse files
Options
Downloads
Patches
Plain Diff
Update setup
parent
e3697d29
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
denoising/__init__.py
+2
-0
2 additions, 0 deletions
denoising/__init__.py
denoising/outliers.py
+3
-3
3 additions, 3 deletions
denoising/outliers.py
requirements.txt
+2
-1
2 additions, 1 deletion
requirements.txt
setup.py
+2
-1
2 additions, 1 deletion
setup.py
with
9 additions
and
5 deletions
denoising/__init__.py
+
2
−
0
View file @
ea5b544e
import
denoising
import
denoising.outliers
This diff is collapsed.
Click to expand it.
denoising/outliers.py
+
3
−
3
View file @
ea5b544e
...
...
@@ -2,7 +2,7 @@ import math
import
numpy
as
np
import
pywt
from
denoising
import
wavelets
from
typing
import
Literal
#
from typing import Literal
...
...
@@ -49,8 +49,8 @@ def apply_delta_relative_threshold(dataset, reftst, threshold):
def
get_wavelet_spikes
(
signal
:
np
.
array
,
sfr
,
wid
:
np
.
array
,
L
:
float
,
wname
:
Literal
[
'
bior1.5
'
,
'
bior1.3
'
,
'
sym2
'
,
'
db2
'
,
'
haar
'
],
option
:
Literal
[
'
drop
'
,
'
reset
'
]
=
'
reset
'
):
wname
,
#
: Literal['bior1.5','bior1.3','sym2','db2','haar'],
option
=
'
reset
'
):
#
:Literal['drop', 'reset']='reset'):
# Number of time samples
nt
=
signal
.
shape
[
1
]
# Make sure signal is zero-mean
...
...
This diff is collapsed.
Click to expand it.
requirements.txt
+
2
−
1
View file @
ea5b544e
numpy
pandas
pywavelets
==1.4.1
# pywavelets==1.4.1
pywavelets
scipy
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
1
View file @
ea5b544e
...
...
@@ -30,7 +30,8 @@ author='Islen Vallejo-Henao',
license
=
''
,
packages
=
[
'
denoising
'
],
python_requires
=
'
>=3.7
'
,
install_requires
=
[
'
numpy
'
,
'
pandas
'
,
'
pywavelets==1.4.1
'
,
'
scipy
'
],
# install_requires=['numpy', 'pandas', 'pywavelets==1.4.1', 'scipy'],
install_requires
=
[
'
numpy
'
,
'
pandas
'
,
'
pywavelets
'
,
'
scipy
'
],
include_package_data
=
True
,
# Include any .json and .yml in the package !!!
package_data
=
{
''
:
[
'
*.json
'
,
'
*.yml
'
,
'
*.yaml
'
]},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment