Skip to content

Instantly share code, notes, and snippets.

View pllim's full-sized avatar
💭
Clickety clack clack. ⌨

P. L. Lim pllim

💭
Clickety clack clack. ⌨
View GitHub Profile
@pllim
pllim / bg_ofilter.ipynb
Last active June 15, 2016 21:09
Background computation using ofilter
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pllim
pllim / hcferguson_ofilter_1.ipynb
Created June 21, 2016 16:15
Harry's ofilter tests
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pllim
pllim / Kassin_RGB.ipynb
Last active October 24, 2016 21:05
Susan's RGB cutouts
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pllim
pllim / glue_from_jupyter_notebook_astrofrog.ipynb
Created November 11, 2016 22:15
How to use Glue from Jupyter Notebook (by Tom Robitaille)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pllim
pllim / Custom_Converter_for_Massimo.ipynb
Created November 29, 2016 14:59
Custom converter for Massimo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pllim
pllim / for_hilbert.py
Last active April 5, 2017 18:38
Modify FITS table
"""
Ref: https://gist.github.com/bhilbert4/1d61054a4aeb2692831c629c28f811c8
"""
from astropy.io import fits
pf = fits.open('jwst_nircam_photom_0031.fits')
col_list = []
# Copy existing columns to new table. Here, I am only showing two as example.
for colname in ('filter', 'pupil'):
@pllim
pllim / pysynphot_gh36.ipynb
Created April 18, 2017 17:42
Pysynphot Github Issue 36
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pllim
pllim / astropy_synphot_demo.ipynb
Last active April 20, 2017 14:35
Spectroscopy Workshop Lightning Talk: synphot using Astropy Models
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pllim
pllim / LineProfile_profiling.ipynb
Created June 6, 2017 20:50
Profiling calculation algorithms in Ginga's LineProfile plugin
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.