pymandelbrot

Example repository

https://github.com/cern-it-innovation/pymandelbrot

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary

Keywords

tutorials
Last synced: 4 months ago · JSON representation ·

Repository

Example repository

Basic Info
  • Host: GitHub
  • Owner: CERN-IT-INNOVATION
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 226 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • Open Issues: 3
  • Releases: 2
Topics
tutorials
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme License Citation

README.md

DOI

Made at CERN! Made at CERN! Made at CERN! Documentation Status

PyMandelbrot - Mandelbrot Set Visualizer with Python

This package helps visualizing the Mandelbrot set.

Documentation

The documentation for PyMandelbrot can be consulted in the readthedocs page: pymandelbrot.readthedocs.io

How to install

The package can be installed with Python's pip package manager.

bash git clone https://github.com/openlab-test/example-repo.git PyMandelbrot cd PyMandelbrot pip install .

This process will copy the PyMandelbrot library to your environment python path.

Quickstart

In a python script, just import the MandelbrotDynamics class defined in the PyMandelbrot package:

```python from PyMandelbrot.mandelbrot import MandelbrotDynamics

z0s = np.zeros_like(c) # starting point cs = np.linspace(-1,1,10) # offset parameter

load the points in the MandelbrotDynamics object

dynamics = MandelbrotDynamics(z0s, cs)

call one evaluation of the f(z) = z**2 + c function

z1s = dynamics()

call multiple evaluations of the f(z) = z**2 + c function

z4s = dynamics.n_steps(n=4)

compute divergency speed for the grid of points

it = dynamics.getdivergencyiter() ```

Examples

The examples foldes contains a full example in .py and .ipynb format to visualize the Mandelbrot set.

Owner

  • Name: CERN-IT-INNOVATION
  • Login: CERN-IT-INNOVATION
  • Kind: organization

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: PyMandelbrot
message: 'If you use this software, please cite it as below.'
type: software
authors:
  - given-names: Marco
    family-names: Rossi
    email: marco.rossi@cern.ch
    affiliation: CERN openlab
    orcid: 'https://orcid.org/0000-0002-7882-2798'
identifiers:
  - type: doi
    value: 10.5281/zenodo.6483600
    description: >-
      "The versioned DOI for version 1.0.0 of the
      work."
  - type: url
    value: 'https://github.com/openlab-test/example-repo'
    description: The homepage for the project
repository-code: 'https://github.com/openlab-test/example-repo.git'
license: MIT
version: 1.0.0
date-released: '2022-04-26'

GitHub Events

Total
Last Year

Dependencies

requirements.txt pypi
  • Jinja2 ==3.1.1
  • MarkupSafe ==2.1.1
  • Pillow ==9.1.0
  • Pygments ==2.11.2
  • QtPy ==2.0.1
  • Send2Trash ==1.8.0
  • argon2-cffi ==21.3.0
  • argon2-cffi-bindings ==21.2.0
  • asttokens ==2.0.5
  • attrs ==21.4.0
  • backcall ==0.2.0
  • beautifulsoup4 ==4.11.1
  • black ==22.3.0
  • bleach ==5.0.0
  • cffi ==1.15.0
  • click ==8.1.2
  • cycler ==0.11.0
  • debugpy ==1.6.0
  • decorator ==5.1.1
  • defusedxml ==0.7.1
  • entrypoints ==0.4
  • executing ==0.8.3
  • fastjsonschema ==2.15.3
  • fonttools ==4.32.0
  • future ==0.18.2
  • ipykernel ==6.13.0
  • ipython ==8.2.0
  • ipython-genutils ==0.2.0
  • ipywidgets ==7.7.0
  • jedi ==0.18.1
  • jsonschema ==4.4.0
  • jupyter ==1.0.0
  • jupyter-client ==7.2.2
  • jupyter-console ==6.4.3
  • jupyter-core ==4.10.0
  • jupyterlab-pygments ==0.2.2
  • jupyterlab-widgets ==1.1.0
  • kiwisolver ==1.4.2
  • matplotlib ==3.5.1
  • matplotlib-inline ==0.1.3
  • mistune ==0.8.4
  • mock ==4.0.3
  • mypy-extensions ==0.4.3
  • nbclient ==0.6.0
  • nbconvert ==6.5.0
  • nbformat ==5.3.0
  • nest-asyncio ==1.5.5
  • notebook ==6.4.11
  • numpy ==1.22.3
  • packaging ==21.3
  • pandocfilters ==1.5.0
  • parso ==0.8.3
  • pathspec ==0.9.0
  • pexpect ==4.8.0
  • pickleshare ==0.7.5
  • platformdirs ==2.5.2
  • prometheus-client ==0.14.1
  • prompt-toolkit ==3.0.29
  • psutil ==5.9.0
  • ptyprocess ==0.7.0
  • pure-eval ==0.2.2
  • pycparser ==2.21
  • pyparsing ==3.0.8
  • pyrsistent ==0.18.1
  • python-dateutil ==2.8.2
  • pyzmq ==22.3.0
  • qtconsole ==5.3.0
  • six ==1.16.0
  • soupsieve ==2.3.2.post1
  • stack-data ==0.2.0
  • terminado ==0.13.3
  • tinycss2 ==1.1.1
  • tomli ==2.0.1
  • tornado ==6.1
  • traitlets ==5.1.1
  • typing_extensions ==4.2.0
  • wcwidth ==0.2.5
  • webencodings ==0.5.1
  • widgetsnbextension ==3.6.0