Bases: object
The Dolphot class manages a single run of dolphot itself.
This class manages dolphot parameters, runs dolphot, and provides paths to the dolphot output, including the ability to compile the dolphot photometry tables into a Pythonic data structure.
Parameters : | workDir : str
**params : kwargs
|
---|
Attributes
Methods Summary
add_image(imagePath[, key, band]) | Add an image to the set to be photometered. |
add_reference(imagePath, **params) | Add an image to the set to be photometered. |
change_param(key, param) | Change or add a single parameter. |
compile_hdf5([tablePath]) | Make an HDF5 file of the photometric output. |
label_fake_output(label) | Renames artificial star test output (useful it running multiple fake star lists on the same photometry). |
run(outputName[, clean]) | Run dolphot photometry given the parameter settings. |
run_ast(outputName, starListName) | Run dolphot photometry in artificial star test mode. |
write_parameters(outputName[, fullPath]) | Write parameters to a .params file for DOLPHOT. |
Methods Documentation
Add an image to the set to be photometered.
Parameters : | imagePath : str
key : str
band : str
**params : kwargs
|
---|
Add an image to the set to be photometered.
Parameters : | imagePath : str
**params : dict
|
---|
Change or add a single parameter. These must be general parameters.
Renames artificial star test output (useful it running multiple fake star lists on the same photometry).
Run dolphot photometry in artificial star test mode.
This method differs from run() in that it will create a directory to perform the AST in, so that multiple star lists can be simultaneously run on a single input photometry. That is, this method prevents the AST output of one star list from clobbering that of another.
Note
This method may be deprecated.