Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/laszukdawid/PyEMD
03 March 2026, 00:43:30 UTC
  • Code
  • Branches (14)
  • Releases (1)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/125-progress-bar
    • refs/heads/165-emd-matlab-fix
    • refs/heads/copilot/investigate-repo-functionality
    • refs/heads/doc
    • refs/heads/fix/black
    • refs/heads/master
    • refs/tags/v.1.2.0
    • refs/tags/v1.0.0
    • refs/tags/v1.0.1
    • refs/tags/v1.1.0
    • refs/tags/v1.1.1
    • refs/tags/v1.2.1
    • refs/tags/v1.2.1-deb
    • refs/tags/v1.9.0
    • 0.2.5
  • 0f9a83f
  • /
  • Makefile
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:4a884175ff976cfebc09c3de2bde001883aaf951
origin badgedirectory badge
swh:1:dir:0f9a83f27ebe59952e0306d232fd6ef35c7ba459
origin badgerevision badge
swh:1:rev:17efa921bb57fb35bc2ce381e9b624cf4e1dd4c2
origin badgesnapshot badge
swh:1:snp:12bb38e04bf2fb9aa8a9059abe683867ced59100

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 17efa921bb57fb35bc2ce381e9b624cf4e1dd4c2 authored by Dawid Laszuk on 08 December 2025, 13:54:36 UTC
devops: migrate to uv and nox
Tip revision: 17efa92
Makefile
LINT_TARGET_DIRS := PyEMD doc example

.PHONY: init sync test clean doc format lint-check freeze nox nox-lint
.PHONY: perf perf-quick perf-scaling perf-splines perf-extrema perf-eemd perf-ceemdan perf-complexity perf-sifting perf-compare perf-list perf/build

# Development setup
init:
	uv sync --all-extras
	@echo "Development environment ready. Run 'source .venv/bin/activate' to activate."

sync:
	uv sync --all-extras

# Testing
test:
	uv run python -m PyEMD.tests.test_all

test-pytest:
	uv run pytest PyEMD/tests/

# Multi-version testing with nox
nox:
	uv run nox -s tests

nox-lint:
	uv run nox -s lint

nox-all:
	uv run nox

# Code quality
format:
	uv run black $(LINT_TARGET_DIRS)
	uv run isort PyEMD

lint-check:
	uv run isort --check PyEMD
	uv run black --check $(LINT_TARGET_DIRS)

# Documentation
doc:
	cd doc && make html

# Cleanup
clean:
	find PyEMD -name __pycache__ -execdir rm -r {} +
	rm -rf .venv

# Export requirements for pip users
freeze:
	uv export --no-hashes --no-dev --no-emit-project -o requirements.txt
	uv export --no-hashes --only-dev --no-emit-project -o requirements-dev.txt
	@echo "Exported requirements.txt and requirements-dev.txt"

# Performance tests
# Results saved to perf_test/results/<timestamp>/

perf:
	@echo "Running full performance test suite..."
	uv run python perf_test/perf_test_comprehensive.py

perf-quick:
	@echo "Running quick performance test suite..."
	uv run python perf_test/perf_test_comprehensive.py --quick

perf-scaling:
	@echo "Running EMD scaling test..."
	uv run python perf_test/perf_test_comprehensive.py --test scaling

perf-splines:
	@echo "Running spline comparison test..."
	uv run python perf_test/perf_test_comprehensive.py --test splines

perf-extrema:
	@echo "Running extrema detection test..."
	uv run python perf_test/perf_test_comprehensive.py --test extrema

perf-eemd:
	@echo "Running EEMD parallel scaling test..."
	uv run python perf_test/perf_test_comprehensive.py --test eemd

perf-ceemdan:
	@echo "Running CEEMDAN performance test..."
	uv run python perf_test/perf_test_comprehensive.py --test ceemdan

perf-complexity:
	@echo "Running signal complexity test..."
	uv run python perf_test/perf_test_comprehensive.py --test complexity

perf-sifting:
	@echo "Running sifting parameters test..."
	uv run python perf_test/perf_test_comprehensive.py --test sifting

perf-compare:
	@if [ $$(ls -d perf_test/results/*/ 2>/dev/null | wc -l) -lt 2 ]; then \
		echo "Error: Need at least 2 result directories to compare"; \
		exit 1; \
	fi
	@BASELINE=$$(ls -dt perf_test/results/*/ | sed -n '2p' | sed 's/\/$$//'); \
	COMPARISON=$$(ls -dt perf_test/results/*/ | sed -n '1p' | sed 's/\/$$//'); \
	echo "Comparing:"; \
	echo "  Baseline:   $$BASELINE"; \
	echo "  Comparison: $$COMPARISON"; \
	echo ""; \
	uv run python perf_test/compare_results.py "$$BASELINE" "$$COMPARISON"

perf-list:
	@echo "Available performance test targets:"
	@echo "  make perf            - Full test suite"
	@echo "  make perf-quick      - Quick test suite (smaller parameters)"
	@echo "  make perf-scaling    - EMD scaling with signal length"
	@echo "  make perf-splines    - Spline method comparison"
	@echo "  make perf-extrema    - Extrema detection comparison"
	@echo "  make perf-eemd       - EEMD parallel scaling"
	@echo "  make perf-ceemdan    - CEEMDAN performance"
	@echo "  make perf-complexity - Signal complexity impact"
	@echo "  make perf-sifting    - Sifting parameters impact"
	@echo ""
	@echo "Comparison:"
	@echo "  make perf-compare    - Compare two most recent results"
	@echo "  uv run python perf_test/compare_results.py <baseline> <comparison>"
	@echo ""
	@echo "Results saved to: perf_test/results/<timestamp>_<test>/"

perf/build:
	docker build -t pyemd-perf -f perf_test/Dockerfile .

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API