First time:
python setup.py register
Uploading a new version:
python setup.py check
np.sqrt(header['CD1_1'] ** 2. + header['CD1_2'] ** 2.) * 3600. |
# Scons "makefile" for imfit and related programs | |
# | |
# To use this, type the following on the command line: | |
# $ scons <target-name> | |
# where <target-name> is, e.g., "imft", "imfit_db", etc. | |
# "scons" by itself will build *all* targets | |
# | |
# To clean up files associated with a given target: | |
# $ scons -c <target-name> | |
# To clean up all targets (including programs): |
# It's convenient to put all postgresql.conf customizations in a included file. | |
# From bottom postgresql.conf, include as | |
# include = 'path/to/jsick_postgresql.conf' | |
# NOTE: you may need to customize some of these columns. | |
# Note: Increasing max_connections costs ~400 bytes of shared memory per | |
# connection slot, plus lock space (see max_locks_per_transaction). | |
max_connections = 100 # (change requires restart) | |
# Logging |
First time:
python setup.py register
Uploading a new version:
python setup.py check
if 'CDELT' in header: | |
pix_scale header['CDELT'] * 3600. | |
else: | |
pix_scale = np.sqrt(header['CD1_1'] ** 2. + header['CD1_2'] ** 2.) * 3600. |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
writer.py | |
Makes LaTeX files available to Writer on the iPad, and retrieves | |
the changed documents later. Could be modified to work with Elements, | |
etc. on the iPad. The idea is to copy the latex files to the | |
~/Dropbox/Writer directory, and retain its project membership | |
by appending the host directory name to the original file name. |