Skip to content

Instantly share code, notes, and snippets.

View boada's full-sized avatar

Steven Boada boada

View GitHub Profile
@boada
boada / hyperopt_wrap_cost.py
Created March 18, 2021 19:49 — forked from hunse/hyperopt_wrap_cost.py
A wrapper to execute Hyperopt cost functions safely on a separate process, with timeout
"""A wrapper to execute Hyperopt cost functions safely on a separate process, with timeout
This code is based off parts of https://github.com/hyperopt/hyperopt-sklearn,
which falls under the following license:
=======
Copyright (c) 2013, James Bergstra
All rights reserved.
@boada
boada / imcombine.py
Last active March 1, 2017 20:57 — forked from vterron/imcombine.py
Python interface to IRAF's imcombine (via PyRAF)
#! /usr/bin/env python
# Author: Victor Terron (c) 2015
# Email: `echo vt2rron1iaa32s | tr 132 @.e`
# License: GNU GPLv3
""" Python interface to IRAF's imcombine (via PyRAF) """
import sys
import tempfile