Skip to main content

lick

PyPI pre-commit.ci status

Line Integral Convolution Knit : clothe a 2D field (ex: density field) with a LIC texture, given two vector fields (ex: velocity (vx, vy)).

This package builds on top of rLIC, adding post-processing and visualization functionalities.

Authors: Gaylor Wafflard-Fernandez, Clément Robert

Author-email: gaylor.wafflard@univ-grenoble-alpes.fr

Installation

Install with pip

pip install lick

To import lick:

import lick as lk

The important functions are lick_box and lick_box_plot. While lick_box interpolates the data and perform a line integral convolution, lick_box_plot directly plots the final image. Use lick_box if you want to have more control of the plots you want to do with the lic. Use lick_box_plot if you want to take advantage of the fine-tuning of the pcolormesh parameters.

Example

import numpy as np
import matplotlib.pyplot as plt
from lick import lick_box_plot

fig, ax = plt.subplots()
x = np.geomspace(0.1, 10, 128)
y = np.geomspace(0.1, 5, 128)
a, b = np.meshgrid(x, y)
v1 = np.cos(a)
v2 = np.sin(b)
field = v1 ** 2 + v2 ** 2
lick_box_plot(
    fig,
    ax,
    x,
    y,
    v1,
    v2,
    field,
    size_interpolated=256,
    xmin=1,
    xmax=9,
    ymin=1,
    ymax=4,
    kernel=np.sin(np.linspace(0, np.pi, 64)),
    niter_lic=5,
    post_lic="north-west-light-source",
    cmap="inferno",
    stream_density=0.5,
)
plt.show()

Metadata

Release files for lick 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lick 0.10.0
File Size Uploaded
lick-0.10.0.tar.gz 22.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lick 0.10.0
File Interpreter ABI Platform
lick-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 45.3 kB

Release files / lick-0.10.0.tar.gz

Download URL lick-0.10.0.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bc359e2c2b0ccff375d5b4c38daad508a311765ee2cf9ef5272fa2e4eef7e105
BLAKE2b-256 checksum
How to use checksums
c651308ce588e49499124429fb3d46923e60722d6c396f7778f00ba4b13f2e77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 19, 2026.

Transparency log

Release files / lick-0.10.0-py3-none-any.whl

Download URL lick-0.10.0-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6bcb718597e6924a52ea3f1582ee05134d165e66bf9517b5da374c1bfa72db1
BLAKE2b-256 checksum
How to use checksums
4648482578d5f10d12c3a6ce53817e5611dc5cc66714b1952351a12cba7a5c56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

26 release files

0.5.1

21 release files

0.5.0

21 release files

0.4.0

13 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page