Mercurial > repos > astroteam > source_extractor_astro_tool
annotate source_extractor_astro_tool.xml @ 0:f4648bd69d48 draft default tip
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
author | astroteam |
---|---|
date | Fri, 18 Jul 2025 14:23:35 +0000 |
parents | |
children |
rev | line source |
---|---|
0
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
1 <tool id="source_extractor_astro_tool" name="source-extractor" version="0.0.1+galaxy0" profile="24.0"> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
2 <requirements> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
3 <requirement type="package" version="6.1.4">astropy</requirement> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
4 <requirement type="package" version="3.10.3">matplotlib</requirement> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
5 <requirement type="package" version="1.21.4">wget</requirement> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
6 <requirement type="package" version="1.4.1">sep</requirement> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
7 <requirement type="package" version="1.2.33">oda-api</requirement> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
8 <requirement type="package" version="2025.6.11">tifffile</requirement> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
9 <requirement type="package" version="9.4.0">ipython</requirement> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
10 <!--Requirements string 'nb2workflow>=1.3.30' can't be converted automatically. Please add the galaxy/conda requirement manually or modify the requirements file!--> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
11 </requirements> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
12 <command detect_errors="exit_code">ipython '$__tool_directory__/source_extraction.py'</command> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
13 <environment_variables> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
14 <environment_variable name="BASEDIR">$__tool_directory__</environment_variable> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
15 <environment_variable name="GALAXY_TOOL_DIR">$__tool_directory__</environment_variable> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
16 </environment_variables> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
17 <configfiles> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
18 <inputs name="inputs" filename="inputs.json" data_style="paths" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
19 </configfiles> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
20 <inputs> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
21 <param name="input_file" type="data" label="Input file" format="data" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
22 <param name="mask_file" type="data" label="Mask file" format="data" optional="true" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
23 <param name="thresh" type="float" value="1.5" label="thresh" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
24 <param name="err_option" type="select" label="err_option" optional="false"> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
25 <option value="array_rms">array_rms</option> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
26 <option value="float_globalrms" selected="true">float_globalrms</option> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
27 <option value="none">none</option> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
28 </param> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
29 <param name="maskthresh" type="float" value="0.0" label="maskthresh" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
30 <param name="minarea" type="integer" value="5" label="minarea" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
31 <param name="filter_case" type="select" label="Filter Case" optional="false"> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
32 <option value="default" selected="true">default</option> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
33 <option value="file">file</option> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
34 <option value="none">none</option> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
35 </param> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
36 <param name="filter_file" type="data" label="Filter file" format="data" optional="true" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
37 <param name="filter_type" type="select" label="filter_type" optional="false"> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
38 <option value="conv">conv</option> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
39 <option value="matched" selected="true">matched</option> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
40 </param> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
41 <param name="deblend_nthresh" type="integer" value="32" label="deblend_nthresh" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
42 <param name="deblend_cont" type="float" value="0.005" label="deblend_cont" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
43 <param name="clean" type="boolean" checked="true" label="clean" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
44 <param name="clean_param" type="float" value="1.0" label="clean_param" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
45 <param name="bw" type="integer" value="64" label="bw" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
46 <param name="bh" type="integer" value="64" label="bh" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
47 <param name="fw" type="integer" value="3" label="fw" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
48 <param name="fh" type="integer" value="3" label="fh" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
49 <param name="fthresh" type="float" value="0.0" label="fthresh" optional="false" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
50 </inputs> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
51 <outputs> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
52 <data label="${tool.name} -> source_extraction bkg_picture" name="out_source_extraction_bkg_picture" format="auto" from_work_dir="bkg_picture_galaxy.output" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
53 <data label="${tool.name} -> source_extraction rms_picture" name="out_source_extraction_rms_picture" format="auto" from_work_dir="rms_picture_galaxy.output" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
54 <data label="${tool.name} -> source_extraction data_picture" name="out_source_extraction_data_picture" format="auto" from_work_dir="data_picture_galaxy.output" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
55 <data label="${tool.name} -> source_extraction sources_picture" name="out_source_extraction_sources_picture" format="auto" from_work_dir="sources_picture_galaxy.output" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
56 <data label="${tool.name} -> source_extraction segmentation_map_picture" name="out_source_extraction_segmentation_map_picture" format="auto" from_work_dir="segmentation_map_picture_galaxy.output" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
57 <data label="${tool.name} -> source_extraction segmentation_map" name="out_source_extraction_segmentation_map" format="auto" from_work_dir="segmentation_map_galaxy.output" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
58 <data label="${tool.name} -> source_extraction bkg_array" name="out_source_extraction_bkg_array" format="auto" from_work_dir="bkg_array_galaxy.output" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
59 <data label="${tool.name} -> source_extraction rms_array" name="out_source_extraction_rms_array" format="auto" from_work_dir="rms_array_galaxy.output" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
60 <data label="${tool.name} -> source_extraction catalog_table" name="out_source_extraction_catalog_table" format="auto" from_work_dir="catalog_table_galaxy.output" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
61 </outputs> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
62 <tests> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
63 <test expect_num_outputs="9"> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
64 <param name="input_file" location="https://gitlab.renkulab.io/astronomy/mmoda/source-extractor/-/raw/5680fc685979c56c69f98eec8153673422abfa72/input.fits" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
65 <param name="thresh" value="1.5" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
66 <param name="err_option" value="float_globalrms" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
67 <param name="maskthresh" value="0.0" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
68 <param name="minarea" value="5" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
69 <param name="filter_case" value="default" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
70 <param name="filter_type" value="matched" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
71 <param name="deblend_nthresh" value="32" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
72 <param name="deblend_cont" value="0.005" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
73 <param name="clean" value="True" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
74 <param name="clean_param" value="1.0" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
75 <param name="bw" value="64" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
76 <param name="bh" value="64" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
77 <param name="fw" value="3" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
78 <param name="fh" value="3" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
79 <param name="fthresh" value="0.0" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
80 <assert_stdout> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
81 <has_text text="*** Job finished successfully ***" /> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
82 </assert_stdout> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
83 </test> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
84 </tests> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
85 <help>Source extractor |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
86 ================ |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
87 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
88 This tool can be used to extract luminous sources from sky images. It is |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
89 entirely based on the |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
90 `sep <https://sep.readthedocs.io/en/stable/index.html>`__ package, which |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
91 is built on `Source |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
92 Extractor <https://sextractor.readthedocs.io/en/latest/Introduction.html>`__. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
93 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
94 Input |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
95 ----- |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
96 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
97 Important input parameters: |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
98 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
99 1. **Input file** (``.fits`` or ``.tiff``) - A single-channel sky image |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
100 to analyze. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
101 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
102 2. **Mask file** (``.fits`` or ``.tiff``; optional) - A 2D numpy array. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
103 True values, or numeric values greater than **maskthresh**, are |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
104 considered masked. Masking a pixel is equivalent to setting data to |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
105 zero and noise (if present) to infinity. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
106 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
107 3. **thresh** - Threshold pixel value for detection: |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
108 ``thresh * err[j, i]``, where ``err[j, i]`` is given by the |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
109 **err_option** parameter; ``j`` and ``i`` represent the pixel indices |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
110 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
111 4. **err_option** - Sets the error that is taken into account into the |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
112 detection of sources: |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
113 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
114 - ``none`` - The value of **thresh** is taken as an absolute |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
115 threshold. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
116 - ``array_rms`` - An array of the background RMS, i.e. for each |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
117 individual pixel. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
118 - ``float_globalrms`` - A float value of the global background RMS. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
119 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
120 The rest of the parameters are described in the documentations of |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
121 `sep.Background <https://sep.readthedocs.io/en/stable/api/sep.Background.html#sep.Background>`__ |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
122 and |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
123 `sep.extract <https://sep.readthedocs.io/en/stable/api/sep.extract.html#sep.extract>`__. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
124 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
125 Output |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
126 ------ |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
127 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
128 Source Catalog |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
129 ~~~~~~~~~~~~~~ |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
130 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
131 The catalogue of sources is explained |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
132 `here <https://sep.readthedocs.io/en/stable/api/sep.extract.html#sep.extract>`__. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
133 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
134 Images |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
135 ~~~~~~ |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
136 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
137 There are 4 images as output: |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
138 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
139 - **Background**: |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
140 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
141 - ``.fits``: The output of ``sep.Background`` function, i.e. the |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
142 estimated 2D background of the input image. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
143 - ``.png``: The gray-scale image of the previously described array |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
144 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
145 - **Background noise**: |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
146 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
147 - ``.fits``: The RMS of the background image. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
148 - ``.png``: The gray-scale image of the previously described array |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
149 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
150 - **Input image** - The gray-scale input image. |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
151 - **Sources** - The sources on the background subtracted input image |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
152 - **Segmentation map**: |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
153 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
154 - ``.fits``: Each pixel is labeled with 0 or object ID (``0`` = |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
155 background; ``i+1`` = object ``i``). |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
156 - ``.png``: Binary mask (``1`` = source, ``0`` = background). |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
157 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
158 Acknowledgement |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
159 --------------- |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
160 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
161 Bertin, E. & Arnouts, S. 1996: `SExtractor: Software for source |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
162 extraction <https://ui.adsabs.harvard.edu/abs/1996A%26AS..117..393B/abstract>`__, |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
163 Astronomy & Astrophysics Supplement 317, 393 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
164 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
165 Barbary, (2016), SEP: Source Extractor as a library, Journal of Open |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
166 Source Software, 1(6), 58, doi:10.21105/joss.00058 |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
167 </help> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
168 <citations> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
169 <citation type="doi">10.1051/aas:1996164</citation> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
170 <citation type="doi">10.21105/joss.00058</citation> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
171 </citations> |
f4648bd69d48
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 89e20bd2ec941d1d362da85bd81230419a1a4b2a
astroteam
parents:
diff
changeset
|
172 </tool> |