Skip to content

Instantly share code, notes, and snippets.

View iurisegtovich's full-sized avatar

iuri segtovich iurisegtovich

View GitHub Profile
@iurisegtovich
iurisegtovich / NumbaODEExample.ipynb
Created December 10, 2020 00:42 — forked from moble/NumbaODEExample.ipynb
Show how to speed up scipy.integrate.odeint simply by decorating the right-hand side with numba's jit function
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iurisegtovich
iurisegtovich / release_fig.py
Last active January 23, 2019 22:37
a python script to convert a figure assembled in libre office impress to a as-high-as-desired quality png and tiff for publication
# currently expect the odp to have only 1 slide
# eventually can add the which-slide option as an arg defaulting to 1st
# maybe create external python to loop this one across more files or slides of one file
import argparse
parser = argparse.ArgumentParser(description='Process some fig.')
parser.add_argument('--filename',dest='fname', metavar='fname', type=str, nargs='+',
help='relative filename', default='fig')