Mercurial > repos > astroteam > grb_detection_astro_tool
annotate grb_detection_astro_tool.xml @ 0:c80db1ec6611 draft default tip
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
author | astroteam |
---|---|
date | Wed, 13 Aug 2025 19:10:53 +0000 |
parents | |
children |
rev | line source |
---|---|
0
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
1 <tool id="grb_detection_astro_tool" name="GRB detection" version="0.0.1+galaxy0" profile="24.0"> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
2 <requirements> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
3 <requirement type="package" version="1.26.4">numpy</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
4 <requirement type="package" version="6.1.4">astropy</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
5 <requirement type="package" version="3.9.4">matplotlib</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
6 <requirement type="package" version="1.2.41">oda-api</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
7 <requirement type="package" version="3.12.11">python</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
8 <requirement type="package" version="9.4.0">ipython</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
9 <requirement type="package" version="7.16.6">nbconvert</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
10 <requirement type="package" version="5.10.4">nbformat</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
11 <requirement type="package" version="0.3.4">gcn-kafka</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
12 <requirement type="package" version="0.14.2">xmltodict</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
13 <requirement type="package" version="0.11.1">hop-client</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
14 <requirement type="package" version="2.4.0">ligo.skymap</requirement> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
15 </requirements> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
16 <command detect_errors="exit_code">python '$__tool_directory__/detectgrb.py'</command> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
17 <environment_variables> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
18 <environment_variable name="BASEDIR">$__tool_directory__</environment_variable> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
19 <environment_variable name="GALAXY_TOOL_DIR">$__tool_directory__</environment_variable> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
20 </environment_variables> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
21 <configfiles> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
22 <inputs name="inputs" filename="inputs.json" data_style="paths" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
23 </configfiles> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
24 <inputs> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
25 <param name="T1" type="text" value="2023-01-16T04:53:33.9" label="T1" optional="false" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
26 <param name="T2" type="text" value="2023-01-16T04:55:33.9" label="T2" optional="false" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
27 <param name="detection_time_scales" type="text" value="1,10" label="detection_time_scales" optional="false" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
28 <param name="lc_time_scale" type="float" value="0.1" label="lc_time_scale" optional="false" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
29 <param name="background_age" type="float" value="10" label="background_age (unit: s)" optional="false" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
30 <param name="min_sn" type="integer" value="5" label="min_sn" optional="false" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
31 </inputs> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
32 <outputs> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
33 <data label="${tool.name} -> detectgrb lc" name="out_detectgrb_lc" format="auto" from_work_dir="lc_galaxy.output" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
34 <data label="${tool.name} -> detectgrb detection_comment" name="out_detectgrb_detection_comment" format="auto" from_work_dir="detection_comment_galaxy.output" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
35 <data label="${tool.name} -> detectgrb image_output" name="out_detectgrb_image_output" format="auto" from_work_dir="image_output_galaxy.output" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
36 <data label="${tool.name} -> detectgrb image_fits" name="out_detectgrb_image_fits" format="auto" from_work_dir="image_fits_galaxy.output" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
37 </outputs> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
38 <tests> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
39 <test expect_num_outputs="4"> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
40 <param name="T1" value="2023-01-16T04:53:33.9" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
41 <param name="T2" value="2023-01-16T04:55:33.9" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
42 <param name="detection_time_scales" value="1,10" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
43 <param name="lc_time_scale" value="0.1" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
44 <param name="background_age" value="10" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
45 <param name="min_sn" value="5" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
46 <assert_stdout> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
47 <has_text text="*** Job finished successfully ***" /> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
48 </assert_stdout> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
49 </test> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
50 </tests> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
51 <help>This service provides simple detection process for a gamma-ray burst in |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
52 SPI-ACS data. |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
53 |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
54 It queries MMODA platform to get SPI-ACS lightcurve in the interval |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
55 between ``T1`` and ``T2`` and detects GRB as a peak above the background |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
56 (calculated in the window of the ``background_age`` width) with given |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
57 minimal S/N ratio. The detection is performed in the rescaled lightcurve |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
58 (scales given as comma-separated list). |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
59 </help> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
60 <citations> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
61 <citation type="bibtex">@article{Neronov_2021, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
62 title = {Online data analysis system of the INTEGRAL telescope}, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
63 volume = {651}, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
64 ISSN = {1432-0746}, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
65 url = {http://dx.doi.org/10.1051/0004-6361/202037850}, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
66 DOI = {10.1051/0004-6361/202037850}, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
67 journal = {Astronomy &amp; Astrophysics}, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
68 publisher = {EDP Sciences}, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
69 author = {Neronov, A. and Savchenko, V. and Tramacere, A. and Meharga, M. and Ferrigno, C. and Paltani, S.}, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
70 year = {2021}, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
71 month = {jul}, |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
72 pages = {A97} |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
73 }</citation> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
74 </citations> |
c80db1ec6611
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools commit 5b1251e9c9cdff7f825bfcfebdfdb12714c13d8f
astroteam
parents:
diff
changeset
|
75 </tool> |