Skip to content

Instantly share code, notes, and snippets.

View adonath's full-sized avatar
🤔

Axel Donath adonath

🤔
View GitHub Profile
@adonath
adonath / SymPyModels.ipynb
Created July 26, 2013 13:07
Helper IPython Notebook for implementing new astropy models with SymPy.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adonath
adonath / PSFPhotometrySpitzer.ipynb
Last active November 24, 2023 04:34
Demonstration of photutils PSF/PRF photometry
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adonath
adonath / ds9colormaps.ipynb
Created March 31, 2015 15:22
Register ds9 colormaps for use with matplotlib
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adonath
adonath / .gitignore
Last active August 29, 2015 14:24
GSoC2015_Model_Rasterization
.ipynb_checkpoints
@adonath
adonath / fermi_spectrum_plot.ipynb
Created July 28, 2015 13:48
Fermi 3FGL Spectrum Plot
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adonath
adonath / astropy_models_convolution.ipynb
Created April 3, 2017 08:23
This notebook sketches how to integrate the convolution operation into the astropy compound model framework
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adonath
adonath / mlx-conv-benchmark.py
Created March 12, 2024 12:49
A short comparison of CPU, GPU native and FFT based convolution in MLX
import logging
import timeit
from dataclasses import dataclass, field
from typing import Optional
import matplotlib.pyplot as plt
import mlx.core as mx
from scipy.signal import fftconvolve as scipy_fftconvolve
log = logging.getLogger(__name__)