This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 |