Overview of regphot

Regphot is a set of modules designed for fitting 2d funtions to optical/IR galaxy images.


In [1]:
import sys
sys.path.append('/Users/rs548/Documents/Code/regphot/')

The catalogue module goes through a list of objects and cuts out postage stamps for the object. It can do this for previously downloaded fits image files or using astroquery for SDSS images. It then runs Galfit on the objects using a standard first guess.

In future it may be good to modify the first guess based on measurements from masterlist.


In [ ]:
from regphot import catalogue
catalogue()


/Users/rs548/anaconda/lib/python2.7/site-packages/astroquery/sdss/__init__.py:28: UserWarning: Experimental: SDSS has not yet been refactored to have its API match the rest of astroquery (but it's nearly there).
  warnings.warn("Experimental: SDSS has not yet been refactored to have its API "
WARNING: FITSFixedWarning: RADECSYS= 'ICRS ' / Coordinate reference frame 
the RADECSYS keyword is deprecated, use RADESYSa. [astropy.wcs.wcs]
WARNING: FITSFixedWarning: 'datfix' made the change 'Changed '' to '2009-12-05T07:07:56.146''. [astropy.wcs.wcs]
Now running on SDSSJ100046.53+023304.5
WARNING: FITSFixedWarning: RADECSYS= 'ICRS ' / International Celestial Ref. System 
the RADECSYS keyword is deprecated, use RADESYSa. [astropy.wcs.wcs]
Galfit.py is about to call galfit on SDSSJ100046.53+023304.5-g.fits
Galfit took  10.8102750778 s to run.
Now running on SDSSJ100130.64+022624.2
SDSSJ100130.64+022624.2  is not in SDSS
Galfit.py is about to call galfit on SDSSJ100130.64+022624.2-g.fits
Galfit took  15.3001599312 s to run.
Now running on SDSSJ100229.07+023245.8
Galfit.py is about to call galfit on SDSSJ100229.07+023245.8-g.fits

SDSS fits with Sersic bulge and exponential disk


In [5]:
from regphot import analysis
analysis.printGraphs('/Users/rs548/Documents/Science/PeteHurley/SDSS/')


Ultravista fits with just Sersic profile


In [6]:
analysis.printGraphs('/Users/rs548/Documents/Science/PeteHurley/galfit/')



In [2]:
from regphot import analysis
analysis.printGraphs('/Users/rs548/Documents/Science/PeteHurley/galfitm/')



In [ ]: