bsplot 0.0.2__py3-none-any.whl → 0.0.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
bsplot/__init__.py CHANGED
@@ -1,6 +1,7 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  from os.path import abspath, dirname, join
2
3
 
3
- __version__ = "0.0.2"
4
+ __version__ = "0.0.4"
4
5
 
5
6
  ROOT = abspath(dirname(__file__))
6
7
  datadir = join(ROOT, "data")
bsplot/anat.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  """Backwards compatibility module. Use bsplot.volume instead."""
2
3
 
3
4
  import warnings
bsplot/animate.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  """Composable animation utilities for 4D neuroimaging data (matplotlib-only).
2
3
 
3
4
  The core abstraction is :class:`AnimationComposer`, which manages a shared
bsplot/bioicons.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  """
2
3
  Bioicons Interface for matplotlib icon plotting.
3
4
 
bsplot/brain.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  from os.path import join
2
3
  import inspect
3
4
 
bsplot/colors.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import json
2
3
  import os
3
4
  import re
bsplot/data/__init__.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  from os.path import abspath, dirname, join
2
3
  import numpy as np
3
4
  import nibabel as nib
bsplot/data/surface.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  from os.path import abspath, dirname, join
2
3
 
3
4
  import nibabel as nib
bsplot/figure.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  """
2
3
  Figure layout wizard for bsplot.
3
4
 
bsplot/graph/__init__.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  from . import edges, layout, nodes
2
3
  from .flowchart import (
3
4
  build_dot,
bsplot/graph/edges.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import numpy as np
2
3
  from matplotlib.colors import Normalize
3
4
  from bsplot.colors import Colormap as _resolve_cmap
bsplot/graph/flowchart.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  from __future__ import annotations
2
3
 
3
4
  from graphviz import Source
bsplot/graph/layout.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  """
2
3
  Utilities for layout adjustments.
3
4
 
bsplot/graph/network.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import numpy as np
2
3
  import networkx as nx
3
4
  import matplotlib.pyplot as plt
bsplot/graph/nodes.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import matplotlib
2
3
  import matplotlib.colors as mcolors
3
4
  import matplotlib.pyplot as plt
bsplot/panels.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import string
2
3
 
3
4
 
@@ -0,0 +1 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
bsplot/streamlines.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import os
2
3
  from pathlib import Path
3
4
 
bsplot/style.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import os
2
3
 
3
4
  import matplotlib.pyplot as plt
bsplot/surface.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import os
2
3
  import matplotlib.pyplot as plt
3
4
  import nibabel
bsplot/templates.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  """Neuroimaging template volumes, downloaded on first access to ~/.bsplot/templates/."""
2
3
 
3
4
  import urllib.request
bsplot/text.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import black
2
3
  import matplotlib.pyplot as plt
3
4
  from pygments.lexers import PythonLexer, get_lexer_by_name
bsplot/text2obj.py CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env python3
2
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
2
3
 
3
4
  import sys
4
5
  from os.path import join, isfile
bsplot/timeseries.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import matplotlib.pyplot as plt
2
3
 
3
4
 
bsplot/utils.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  """Utility helpers for plotting and figure management."""
2
3
 
3
4
 
bsplot/volume.py CHANGED
@@ -1,3 +1,4 @@
1
+ # Copyright © Charité Universitätsmedizin Berlin. This software is licensed under the terms of the European Union Public Licence (EUPL) version 1.2 or later.
1
2
  import json
2
3
  import os
3
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bsplot
3
- Version: 0.0.2
3
+ Version: 0.0.4
4
4
  Summary: Plotting utilities for neuroscience: styles, palettes, surfaces, glass-brain, and panel helpers.
5
5
  License: EUPL-1.2
6
6
  Project-URL: Repository, https://github.com/leon-k-martin/bsplot
@@ -1,39 +1,39 @@
1
- bsplot/__init__.py,sha256=hzXDNH6QjGO0l0lNsld_O041JrPccXUumNemtTMAcgs,626
2
- bsplot/anat.py,sha256=_5_gtKjd_LR13Cv5cfwERxO-n9VvfDwL-iS2TK2n4Vg,1365
3
- bsplot/animate.py,sha256=KYchxKxX3YJp592zGu6c1GV6D-Q3Bu28ccopbovFssg,6184
4
- bsplot/bioicons.py,sha256=rdJXSY_K8fHeR_DL_Uf6Bj-gX3Gv8xZqFbl_M1TAQVA,24362
5
- bsplot/brain.py,sha256=vVyJC5bqbcI1mq9AmX0xEcyyNqFm3u67XP7vf_IXJ6I,5823
6
- bsplot/colors.py,sha256=5SPe1-Y-5QRVEPpiUP7KRTmF_DX2EVPoBhd22ihpvyE,65366
7
- bsplot/figure.py,sha256=4bUgerProGWwv_LsRf_jWvRVrKgeOy4gJQ6PpTFunCg,5744
8
- bsplot/panels.py,sha256=9rZ3dhNPYdGJ9TwYan25HBZURYOov6ryVxsJAunYaU0,3665
9
- bsplot/streamlines.py,sha256=ISSTX-mdG3eXpsKg4gEZmt5Z3RYXtVMAakQzQfckLEY,11279
10
- bsplot/style.py,sha256=tHta-imLTr6q8QQNSf0PmECE3NPF3mvFw8D0_F6hc_o,27880
11
- bsplot/surface.py,sha256=ahGAyeIMAE-ifapphplswqKPUSmYpj13Q5XuEWy6IeQ,92705
12
- bsplot/templates.py,sha256=GLsUDufzOCp7yPvsavI3eQ7l5yDyIOmAve2tXvxQ4Is,10300
13
- bsplot/text.py,sha256=brG6Jnf3xVpNXjLorb0DsWTTgJMXZ5ck4Q314-nXNdg,6642
14
- bsplot/text2obj.py,sha256=Oq14qaoX1DB3kCLYHCxm-P6__rw6JkecOw2mCs2y1n8,1889
15
- bsplot/timeseries.py,sha256=jNXhzKL_-U1ToU18bbTMKhh_h2sJk-BJfGIUOT9HUTs,261
16
- bsplot/utils.py,sha256=HK2tlhcUWzYCJTBOuxsGWFBxF4her9gGMjzKyx5ojpM,411
17
- bsplot/volume.py,sha256=NFESpgx7-8fHaHJnryJfO-aq6QqL_T7SFmP9YbEfMTE,33799
1
+ bsplot/__init__.py,sha256=6tFbyK04ZwNgJ5ff12MBRzcXG-L_50B5uZUn9xdmwno,787
2
+ bsplot/anat.py,sha256=_oFFPb5LeKxRDwmAtw2o0uxvT5uBdTpKzPKaWkSAx7I,1526
3
+ bsplot/animate.py,sha256=_0TCiviMBcvbyxS3Vp3Cr3sX-_Ng9yqdE5C09xMwg4c,6345
4
+ bsplot/bioicons.py,sha256=vlLPm-pHOcdLwTaER0Y8iPj7NmFhbmTXnCWzP_QBk5A,24523
5
+ bsplot/brain.py,sha256=nhkNoyg3GTc9xpPkaJ_ztY9WK3xW0tXTt_ft6gRI-gU,5984
6
+ bsplot/colors.py,sha256=aVt-2IvYzZOAPlQgn0mDunZ-k4OJflE9zAIsheKcNzE,65527
7
+ bsplot/figure.py,sha256=_bPcgRokjHpjWS7OTqF3VdjZ9ycEk1ofIYK2_C3bX_g,5905
8
+ bsplot/panels.py,sha256=1s1i9qyOP5EntC3e931mSqjwRDUgLwXBuaH2TVbavyE,3826
9
+ bsplot/streamlines.py,sha256=yglmhr7NRA4jwoyWj7xhcroxRYEMMgmT97UmaeKDlXA,11440
10
+ bsplot/style.py,sha256=mM8R6PuVVQF6Pc1aUHHPaVgT1jwlXWoe8ERPNFrvJVg,28041
11
+ bsplot/surface.py,sha256=ybO8teI3vz4QYynRP2mMdiuSFvnqzpEg6H-MUf9Hvm8,92866
12
+ bsplot/templates.py,sha256=GZI0ZQEJKWO5tVt-tk8OkqdrUbdCLqTERt3reeaSx6U,10461
13
+ bsplot/text.py,sha256=M-FfW_osuqQDEvbI0PK3E9KDalnGyVkDifSq7e1pHAU,6803
14
+ bsplot/text2obj.py,sha256=bOXaPMuf2QCPGXtOCLeh1JQr7Io2hjnwJo9K1NOfnTo,2050
15
+ bsplot/timeseries.py,sha256=pNcgFYTYKM4O_Hs_RpJmxbjpePgjH_LHb--_lwFk7Xc,422
16
+ bsplot/utils.py,sha256=-zOHcoKQr054zJMAVmMm7nJrzwDxCJgSOyzmIXQmprc,572
17
+ bsplot/volume.py,sha256=kYWeWSTu1RbFSpvy1m2cffvgq0-bHwy-VjX7K2ncyTo,33960
18
18
  bsplot/data/HCP_avg-SC.txt,sha256=tHW-7JP-Mg3Y4zPflFqQHlqNNXzvsWH5jaJqucuCmvo,2842974
19
19
  bsplot/data/MNI152.rh.pial,sha256=PVJTXb1iBTPvr1HOGPzUUlomZkgcENWw91U14TQZUNI,5600558
20
20
  bsplot/data/STN_lh.nii.gz,sha256=k9ugUZjMHb_MY431WT-m-dgc-KC6_DdVmeIRWYdpMyo,254910
21
21
  bsplot/data/STN_rh.nii.gz,sha256=UqnI_lmpaQUZi0D8kKbScbROfDIUj_GC9ARMCsq6IhM,250179
22
- bsplot/data/__init__.py,sha256=XoUounk3rJvXcc78QdQU7eyarhy5812D6BxQnY5Abvw,487
22
+ bsplot/data/__init__.py,sha256=dC9ClsVuv3c7KodjMl3FPjnMrCi2N2kC6s7UdmgVcy0,648
23
23
  bsplot/data/left_electrode.ply,sha256=n2TFwO8xpe-MDe8PWQj_TiaHepmDpGbQiD4PzOiiFk0,7285189
24
24
  bsplot/data/right_electrode.ply,sha256=-dVvt4H4xN0S7V-h_pse2RmxlEE1WikaJL7AWLQ2Mu4,7192408
25
- bsplot/data/surface.py,sha256=CsHm3J1LaFw7dF3t0rtzmMbTpFYRu4urMuA32DKrnrI,3236
25
+ bsplot/data/surface.py,sha256=EoTz9x1VTjF89-nXI9g8VTfGcnchVDKtKZDV0mg9-sQ,3397
26
26
  bsplot/data/tpl-MNI152NLin2009b_atlas-hcpmmp1_desc-ordered_dseg.nii.gz,sha256=hq_CJUrcP2kNRiQKXrXJ-qai0w2bpu6mNOkjqFmASqA,1371666
27
27
  bsplot/data/parcellations/HCP-MMP1.L.label.gii,sha256=On_Slf_jygBVRKffwKJYkh9ClgQNCBuYZnNo3YNuh0E,52225
28
28
  bsplot/data/parcellations/HCP-MMP1.R.label.gii,sha256=BFw7SQEa2Zrckh6MH3gAtiGVWz0h7SuoNQGD5ct-Iiw,52050
29
29
  bsplot/data/parcellations/code/split_hcpmmp1.sh,sha256=-VSsJ71xPtUb9a31FPZmGIZIJqlVlm2WebwNeB7HELs,250
30
- bsplot/graph/__init__.py,sha256=0eGUFupT2xHpJIZl2_Oetr6G3tg1d3F5R8ZPoINC0Mw,609
31
- bsplot/graph/edges.py,sha256=Lcd2eLiqbY3RMAoCoUqgD1BWRq348w0Plc2Ar-jM3IM,9324
32
- bsplot/graph/flowchart.py,sha256=PNf4Iwmu59_yJ9mF1-7XH29A8-fxz9pNCSAqTET4N-g,25759
33
- bsplot/graph/layout.py,sha256=9nQjv4l6LE8bAHWYlIBemv-NRqrwhRQCOOZILpatxzg,8262
34
- bsplot/graph/network.py,sha256=ToGDZaSxvYy9mbcEhaNRKA5ck-pLXBuMvOxtMXuPI5k,35457
35
- bsplot/graph/nodes.py,sha256=90VlMsoY2kiKQIUefz2uGvhM9PkDbzw2jUQC_kRgYQ4,13828
36
- bsplot/scientific_color_maps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
+ bsplot/graph/__init__.py,sha256=PiiiQ2Mp6PUVykr7unWoxPFfQbXcfDeT1F4Xg9gEqQc,770
31
+ bsplot/graph/edges.py,sha256=yJySoyZ4I4lnnKkYjtBiP_XCPjayajNf4eZrnlto0VE,9485
32
+ bsplot/graph/flowchart.py,sha256=94ggAKTPka7_5q6R0sgtYEfK_aSBdTwzoHJI0Kox3-A,25920
33
+ bsplot/graph/layout.py,sha256=7ja7K6Ph_MAbM5ALe5NX_VBwYq0bytFa7hIVvDqGdfw,8423
34
+ bsplot/graph/network.py,sha256=b04fWDl16t0yNIHtnmqrJQb_mtgkTOzhXxif-UAcqII,35618
35
+ bsplot/graph/nodes.py,sha256=iUkRi20rMydayZVUhP_h9x6pPAp54udUQSvDIYRW_m4,13989
36
+ bsplot/scientific_color_maps/__init__.py,sha256=oFpL9jnpoJUTi8xrR3g4RdgUMgOviEjBHUXvd8udJME,161
37
37
  bsplot/scientific_color_maps/_sync_from_zenodo_download.sh,sha256=C8CmM2ps1PwVkGMDiFSLEHmhc7t-QdqgEE1FWTI2Vgk,239
38
38
  bsplot/scientific_color_maps/batlowK.txt,sha256=9IBcqnnsTCGhMIOcD-AIkTbRvtCPa8a9Je3wRhYy9-c,6912
39
39
  bsplot/scientific_color_maps/batlowW.txt,sha256=Ap3ZHtngIqx-j785nWvnB1X2wKYA7nQFBJUdXs2XDHI,6912
@@ -81,9 +81,9 @@ bsplot/styles/bwcomp.mplstyle,sha256=DAwi9AM8xhFUAAiE7TLcWIC1zVCZ9gza2YtfLI0xc18
81
81
  bsplot/styles/nature.mplstyle,sha256=lt1IWVmTLcMh87Epjw2-ssSnTxU2ungt6yIC4zRuPck,1088
82
82
  bsplot/styles/transparent.mplstyle,sha256=km_02Btb5mqKURRkeZ8Z6CLcFAJY2wJ1riLY4nxK73w,384
83
83
  bsplot/styles/tvbo.mplstyle,sha256=D_TNAqu2epKfUZYh9q-f89DpujUBAnWVmJOF0IhlSt4,1098
84
- bsplot-0.0.2.dist-info/licenses/LICENSE,sha256=GHHDs36hDh5_qq8q4N62ZQIpUxf7dtVz3u14QjVl7HI,13952
85
- bsplot-0.0.2.dist-info/METADATA,sha256=2pgmU2MJ09GFK_LKkRAAKAoW1kMbEPRWHBeww3g6_nM,1486
86
- bsplot-0.0.2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
87
- bsplot-0.0.2.dist-info/entry_points.txt,sha256=U8Mn6dK8OnZBVu_5NZig7GPlyp41yne2mJrLhtXHLos,44
88
- bsplot-0.0.2.dist-info/top_level.txt,sha256=cQW5ApRdF9__2I1cwmD0ra203T7ruwOhXodMaUaAZTI,7
89
- bsplot-0.0.2.dist-info/RECORD,,
84
+ bsplot-0.0.4.dist-info/licenses/LICENSE,sha256=GHHDs36hDh5_qq8q4N62ZQIpUxf7dtVz3u14QjVl7HI,13952
85
+ bsplot-0.0.4.dist-info/METADATA,sha256=5ckjmHY31UVip0VKrO-SO-g1r3xWZqHU5bJ6EvXnoaA,1486
86
+ bsplot-0.0.4.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
87
+ bsplot-0.0.4.dist-info/entry_points.txt,sha256=U8Mn6dK8OnZBVu_5NZig7GPlyp41yne2mJrLhtXHLos,44
88
+ bsplot-0.0.4.dist-info/top_level.txt,sha256=cQW5ApRdF9__2I1cwmD0ra203T7ruwOhXodMaUaAZTI,7
89
+ bsplot-0.0.4.dist-info/RECORD,,
File without changes