Gathering info from SDSS into a VOTable to execute Sextractor, Galfit and Ellipse.
Created: 2012-08-13 11:04:27
Last updated: 2013-03-08 12:09:18
This workflow joins two main nested workflows:
- Extract SDSS field information and PSF, which gathers information from SDSS VO service and from the header image in several VOtable. It alse generate the psf files.
- Joining VOtables with information to execute Sextractor, Galfit and Ellipse, which joins the VOtables generated by the previus workflow to get only one VOtable with all the information
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Gathering info from SDSS into a VOTable to execute Sextractor, Galfit and Ellipse. |
Descriptions (1)
This workflow joins two main nested workflows:
- Extract SDSS field information and PSF, which gathers information from SDSS VO service and from the header image in several VOtable. It alse generate the psf files.
- Joining VOtables with information to execute Sextractor, Galfit and Ellipse, which joins the VOtables generated by the previus workflow to get only one VOtable with all the information
|
Dependencies (1)
Inputs (1)
Name |
Description |
init_table |
ASCII table with following 10 columns
- RA, DEC: Coordinates of the image.
- RUN, RERUN CAMCOL, FIELD: Info about the field of the image
- PATH_IMAGE: Absolute path file to the fits image file
- BARRED: This column will contain a 0 if the galaxy has no contain a bar and a 1 otherwise
- PATH_PSFIELD: Absolute path where the psfield file will be downloaded
- PATH_PSF: Absolute path where the psf file will be generated
|
Processors (2)
Name |
Type |
Description |
create_initVOTable |
workflow |
This workflow gathers information needed by the execution of Sextractor, Galfit and Ellipse, from the SDSS VO service. It receives as input a ascii table with 10 columns:
- Coordinates: Right Ascension, Declination
- Data of the field: run, rerun, camcol and field
- Path of the fits image.
- A value to indicate if the galaxy is barred or not. A 0 if it is not barred and 1 if it is barred.
- Path where the psfield file will be downloaded.
- Path where the psf file wil be generated.
The workflow generates paths of some files that should be provided to Sextractor, Galfit or Ellipse. This paths are generated using the path of the image as suffix, and creating this structure:
+Eliipse: which will contain the files needed to execute Ellipse
+Galfit: which will contain the files needed to execute Galfit
+Plots: which will contain the plots that will be generates
+psf: which will contain the psf files
+Sex: which will contain the files needed to execute Sextractor
+votables: which will contain the votables with the information obtained from the execution of the applications.
This workflow extract the band from the image header, and the information about the field (kk, saturation, aa, airmass, gain) from the SDSS DR7 drfield VO service.
The psfield file is downloaded in the path provided in the input ascii table, and the program "read_psf" is executed to extract the psf field corresponding with the specific band of the image.
The output of this workflow is made up of 14 lists:
- Filenames: Paths where store files that are going to be generated (i.e. the output file of Sextractor)
- psf: Paths where the psf files have been stored.
- Band: List of bands correspondig to the image
- image: List of paths of images
- nx and ny: NAXIS1 and NAXIS2
- kk : List of kk value
- saturation: List of saturation value
- aa: List of aa value
- airmass: List of airmass value
- gain: List of gain value
- ra,dec: List of coordinates
- Bar: list of 1/0 indicating if the image of the corresponding row is barred or not
|
join_initVOTables |
workflow |
This workflow join 14 votables, obtained from the workflow "Extract SDSS field information and PSF" in order to get a only one votable with all the information. Also it adds the columns "zp" and "magzeropoint" that are calculated from values provided in the inputs. The zp is -( aa + kk * airmass ) and the magzeropoint is zp + 2.5 * log10(53.907456) |
Beanshells (6)
Name |
Description |
Inputs |
Outputs |
extract_info |
|
lines
|
DECs
RAs
RERUNs
RUNs
CAMCOLs
FIELDs
FILEs
BARREDs
PSFIELDs
PSFs
|
change_columnName |
|
lines
|
votable
|
change_columnName2 |
|
lines
|
votable
|
change_columnName3 |
|
lines
|
votable
|
change_columnName4 |
|
lines
|
votable
|
change_columnName4_2 |
|
lines
|
votable
|
Outputs (1)
Name |
Description |
output_VOTable |
VOtable with all the information needed to execute Sextractor, Galfit and ellipse.
The columns of this votable are:
- image: Path of the fits image
- band: Band (g,r,i,z,u) of the image
- cat: File path where sextractor results is allocated.
- sex: File path where the sextractor config file is allocated (one for each galaxy).
- sexparam: File path for general sextractor configuration file (the same for all the galaxies)
- checkimage_name: File path where the sextractor image result is allocated
- galfit: File path where the input for the first galfit execution is allocated.
- galfit_exp: File path where the output for the first galfit execution is allocated.
- galfit2nd: File path where the input for the second galfit execution is allocated.
- galfitgal: File path where the output for the second galfit execution is allocated.
- model: File path where the galfit image result is allocated.
- ellip_tab: File path where the output for the first ellipse execution is allocated.
- ellip_resultheader: File path that contains the column descriptions for the ellipse results (first iteration).
- ellip_resultdata: File path that contains an ascii table with the ellipse results (first iteration).
- ellip_tab2: File path where the output for the second ellipse execution is allocated.
- ellip_resultheader2: File path that contains the column descriptions for the ellipse results (second iteration).
- ellip_resultdata2: File path that contains an ascii table with the ellipse results (second iteration).
- ellip_script1: File path where python the script that is used run pyraf is allocated (first iteration)
- ellip_script2: File path where python the script that is used run pyraf is allocated (second iteration)
- ellip_plot: File path where the plot that represent galfit and ellipse results is allocated.
- psf: Path of the psf file
- ra: Right ascension
- dec: Declination
- saturation: saturation level
- gain:Gain Averaged over Amplifiers
- nx :NAXIS1
- ny: NAXIS2
- bar: 1 or 0, indicating if the galaxy is barred or not.
- aa: Zero-point
- kk: Extinction coefficient
- airmass: Airmass for star at frame center (mid exposure)
- zp: it is calculated as -( aa + kk * airmass )
- mag_zeropoint: It is calculated as zp + 2.5 * log10(53.907456)
|
Datalinks (16)
Source |
Sink |
init_table |
create_initVOTable:input_table |
create_initVOTable:aa |
join_initVOTables:aa |
create_initVOTable:airmass |
join_initVOTables:air |
create_initVOTable:band |
join_initVOTables:band |
create_initVOTable:bar |
join_initVOTables:bar |
create_initVOTable:dec |
join_initVOTables:dec |
create_initVOTable:filenames |
join_initVOTables:filenames |
create_initVOTable:gain |
join_initVOTables:gain |
create_initVOTable:image |
join_initVOTables:image |
create_initVOTable:kk |
join_initVOTables:kk |
create_initVOTable:nx |
join_initVOTables:nx |
create_initVOTable:ny |
join_initVOTables:ny |
create_initVOTable:psf |
join_initVOTables:psf |
create_initVOTable:ra |
join_initVOTables:ra |
create_initVOTable:saturation |
join_initVOTables:satur_level |
join_initVOTables:output_votable |
output_VOTable |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1 (earliest)
(of 4)
Credits (1)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (1)
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment