| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Original HTTPS Page] |
Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.
You must be logged in to block users.
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abuseThis project, along with all my others, has moved to GitLab: https://gitlab.com/madphysicist/madphysicist. Please download the latest version and submit updates there rather than GitHub, which will no longer be monitored.
Hi, I am algorithm engineer with a background in physics and signal processing. Coding is a hobby of mine. I like to contribute fixes and improvements to projects that I use frequently, such as the numpy / scipy / matplotlib stack. My ongoing pet project is scikit-guess. It's a collection of linearized optimization routines that started as a translation and python implementation of Jean Jacquelin's paper, which you can find in the repo.
Here is a selection of repos with a note about each one:
scikit-guess [PyPi] [RTD] See above.
haggis [PyPi] [RTD] Originally made to support imprint, this library has a whole bunch of routines I find useful on a regular basis for all kinds of projects.
imprint [PyPi] [RTD] A publication system for generating MS Word documents I made while at the Detector Characterization Lab at NASA GSFC. Only really useful in the case where you want to generate the same document over and over, but with different data.
is_integer_ufunc is a foray into the C code of numpy. It contains bit twiddling operations for determining whether an IEEE754 float (any format) is an integer or not. It's becoming pretty clear that a ufunc is inadequate for the purpose, so I am concocting two alternatives to the pure ufunc:
See the Stack Exchange section below for the inspiration.
puzzle-solvers [PyPi] [RTD] Another Stack Overflow-inspired package. This one is currently just a system for solving a zebra puzzle, which I really enjoyed writing. See the Stack Exchange section for the inspiration.
libpluck never got past the README phase, as it's more of an April fool's library than anything. Developed in conjunction with Ventsy Velev while working on GOES-R together. An idea that never made it even this far was a library for generating unit tests with gramatically meaningful, fancy sounding names, all of which pass after much output and fanfare.
BOFH is a small Java program that depends on JTools, and displays a GUI for the excuse generator from Simon Travaglia's BOFH series of articles.
JTools is a small library of Java utilities from many years ago when I coded in Java. It's so old that it was written before Java 7 even existed. There were no streams back in those days. The library has all sorts of tools for I/O, process management, GUI elements, XML parsing and the like.
JTools-extras is an extension of JTools that contains utilities with external dependencies (like TestNG).
I've been on Stack Exchange for a while now, and some of the open source work I've done is a direct consequence of my contributions there. The list below maps some of my PRs to the questions that they originated with. In most cases, I added an answer to the question referencing the contribution.
Part of the reason for putting this section here is that my SE profile is limited to 3000 characters, so I gave up on trying to squeeze it in there.
scikit-guess entirely came about from my work with a paper by Jean Jacquelin. It was later supplemented by some Stack Overflow and Math Stack Exchange questions:
matplotlib.ticker.PrecentFormatter added to matplotlib in PR #6251 in response to these posts:
scipy.stats.iqr added to scipy in PR #5805 partly just to write https://stackoverflow.com/a/38620147/2988730
count parameter added to numpy.unpackbits to make it invertible with respect to numpy.packbits in PR #10855 to improve this answer: https://stackoverflow.com/q/5602155/2988730
Relaxed contiguity requirements for numpy.ndarray.view (see note about version 1.23.0) in PR #20722, which allows for np.char.slice_ to exist in PR #20694:
haggis.numbers.english implements the usage rules from this answer on English Language and Usage SE: https://english.stackexchange.com/a/111837/207127.
haggis.math.full_width_half_max implements a solution to https://stackoverflow.com/q/10582795/2988730
My first attempt at a ufunc: is_integer_ufunc. This still needs work before it's ready for review by the numpy community, but the question crops up fairly frequently:
One of my first introductions to numpy was in the area of automatic histogram bin estimation in PR #, in which I added Doane's estimator: https://stats.stackexchange.com/q/55134/102011. Most of my research can be referenced to questions on Cross Validated:
This question led me to write puzzle-solvers: https://stackoverflow.com/q/56284249/2988730. Others that are near-duplicates:
Added haggis.math.segment_distance as a result of the first of these questions:
With an interesting application here:
Angular distances are implemented in haggis.math.ang_diff_pos, haggis.math.ang_diff_min and haggis.math.ang_diff_abs. They have appeared in
haggis.npy_util.unmasked_index, while not written specifically for https://stackoverflow.com/q/71389165/2988730, does provide an answer.
haggis.objects.getsizeof was added to help with this question: https://stackoverflow.com/q/70792724/2988730, with the help of this one: https://stackoverflow.com/q/449560/2988730
A question about formatting determinacy https://stackoverflow.com/q/41050445/2988730 led to a new test case for pyformat.info in PR #38.
haggis.objects.copy_class is based on https://stackoverflow.com/q/49157255/2988730
haggis.objects.copy_func is based on https://stackoverflow.com/q/13503079/2988730 (duplicate of https://stackoverflow.com/q/6527633/2988730), implemented in https://stackoverflow.com/q/49076566/2988730
haggis.load.load_module is based on four answers:
haggis.logs.add_logging_level is a productionized version of https://stackoverflow.com/a/35804945/2988730.
haggis.files.docx.list_number is based on the answers to https://stackoverflow.com/q/51829366/2988730.
Stuff that might get turned into PRs one day:
Forked from matplotlib/matplotlib
matplotlib: plotting with Python
Python
Fast, non-iterative estimation of fitting parameters for common functions
Python program for creating reports from data and content templates
Python
| Back | FazBrowse Home | New Git URL |