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
Compare revisions
57bcbad5162ac879c0b3dfdbc0bbd5bde516b6bf to d3ad79c45874e4514324aacccc35a6eaf2df5161
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
aqdl/denoising
Select target project
No results found
d3ad79c45874e4514324aacccc35a6eaf2df5161
Select Git revision
Branches
develop
main
Swap
Target
aqdl/denoising
Select target project
aqdl/denoising
1 result
57bcbad5162ac879c0b3dfdbc0bbd5bde516b6bf
Select Git revision
Branches
develop
main
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (4)
Remove notebook
· d802d557
Islen Vallejo
authored
2 years ago
d802d557
Create setup, update README
· e6794b7c
Islen Vallejo
authored
2 years ago
e6794b7c
Update README
· 7f175cfe
Islen Vallejo
authored
2 years ago
7f175cfe
Merge branch 'develop'
· d3ad79c4
Islen Vallejo
authored
2 years ago
d3ad79c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+22
-0
22 additions, 0 deletions
README.md
setup.py
+39
-0
39 additions, 0 deletions
setup.py
with
61 additions
and
0 deletions
README.md
View file @
d3ad79c4
...
...
@@ -12,6 +12,28 @@ modifications to the source of the `pywavelet` library. To do so, locate the ins
`dt_out = dt_cplx if wavelet.complex_cwt else dt`
by
`dt_out = dt`
and comment
`int_psi = np.conj(int_psi) if wavelet.complex_cwt else int_psi`
.
Clone the develop branch
```
cfgrlanguage
git clone -b develop https://git.nilu.no/aqdl/denoising
```
Create a wheel
```
cfgrlanguage
cd denoising && python setup.py bdist_wheel
```
Install the package
```
cfgrlanguage
pip install dist/denoising-1.0.0-py3-none-any.whl
```
## Usage:
Use the example in
[
__main__.py
](
denoising/__main__.py
)
to implement your pipeline.
[
//
]:
#
()
[
//
]:
#
()
[
//
]:
#
(## Getting started)
...
...
This diff is collapsed.
Click to expand it.
setup.py
0 → 100644
View file @
d3ad79c4
import
os
# import shutil
from
setuptools
import
setup
,
Command
from
pathlib
import
Path
class
CleanCommand
(
Command
):
"""
Custom clean command to tidy up the project root.
"""
user_options
=
[]
def
initialize_options
(
self
):
pass
def
finalize_options
(
self
):
pass
def
run
(
self
):
os
.
system
(
'
rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info
'
)
deps_dir
=
Path
.
cwd
().
joinpath
(
'
deps
'
)
setup
(
name
=
'
denoising
'
,
author
=
'
Islen Vallejo-Henao
'
,
author_email
=
'
iv@nilu.no
'
,
description
=
'
Automatized WRF simulations
'
,
version
=
'
1.0.0
'
,
url
=
'
https://git.nilu.no/wrf/denosing
'
,
license
=
''
,
packages
=
[
'
denoising
'
],
python_requires
=
'
>=3.7
'
,
install_requires
=
[
'
numpy
'
,
'
pandas
'
,
'
pywavelets==1.4.1
'
,
'
scipy
'
],
include_package_data
=
True
,
# Include any .json and .yml in the package !!!
package_data
=
{
''
:
[
'
*.json
'
,
'
*.yml
'
,
'
*.yaml
'
]},
cmdclass
=
{
'
clean
'
:
CleanCommand
,},
zip_safe
=
False
)
This diff is collapsed.
Click to expand it.