Blume Interactive Matplotlib Visualisations

Turning the tables on the universe

Eleven(+/-n) Lightning talks.

Johnny Gill

29/6/2023

blume <https://blume.readthedocs.org>

gotu <https://gotu.readthedocs.org

github<https://github.com/swfiua>

JOHN(ny) GIL(Ly)

who am i.

karmapi.gilliam

What was the first python you used?

GIL

PEP 684: A Per-Interpreter GIL

Coming in python 3.12

Things I (re) discovered whilst preparing this talk.

it’s all about the names

karmapi/docs/nodice: riddles and rhymes

karmapi.README

modules can often be run, use argparse

So -h may give help

Personal Projects

karmapi 2017-

Started as tools for working with csv data.

Evolved into an interactive framework for working with matplotlib.

A miscellaneous bunch of short scripts to explore my interests of the day.

blume 2019-

Initially a home for the matplotlib.table.Table class. See blume.table.

  • tkinter to matplotlib

  • magic roundabout.

Is there anything better than an editor and a console?

gotu 2021-

gotu.jwst

gotu.wits

blume.gaia

gotu.aidss2

blume.console

Code Life cycle

  • Getting something going

  • Learn things are more complicated than you thought

  • Realise that you’ve hit some common problem

  • Move on to something more interesting

Interface emerges.

karmapi, blume and gotu

curio to asyncio.


karmapi: beginnings of ideas, things that once worked

blume:

  • a new home for matplotlib tables

  • a personal framework for exploring data with matplotlib.

Where’s the bluming table?

blume, the matplotlib table module.

::

python3 -m blume.examples.table_demo

python3 -m blume.examples.chess_table

python3 -m blume.examples.legendary

git

The beginninings of blume

::

git log –oneline | tail -100

Ancient history

karmapi.tankrain

blume.train

planetary harmonics

::

python3 -m gotu.planets

quasars

Gravitational Waves

jwst

pyodide

blume on the web

spirals

eggshow

talking to the AI.

blume.gaia

gotu.planets

gotu.

Fred and Colin

An email exchange.

Demonstrate how relativity twists time and space.

Show how a static universe appears to expand.

Add random galaxies to the plot until it looks like our universe.

Gamma-ray bursts

Black hole collisions

List of modules to Run

karmapi.tankrain

blume.examples.table_demo blume.examples.chess_table

Things to see

gotu.event

someone has already done it.

astropy.coordinates

Commits

karmapi

5ffd4ef1f3b778cfd746d59115211ef5e76f6734

docs/computers.rst

of all the things they say:

710b63cf04198e01db45452c2b3b804487af2efd

Running order

blume.train

  • karmapi.tankrain

Tables

  • blume.examples.table_demo

  • blume.examples.chess_table

  • blume.examples.legendary

Pretty

blume.mb

Start of an idea

blume.gw

A view on the galaxy

blume.gaia

gotu.wits

Internals to the edge of the universe

blume.console

blume.eggshow

gotu.aidss2

gotu.jwst