Mercurial > repos > astroteam > astropy_fits2bitmap
comparison fits2bitmap.xml @ 1:c780d644a93a draft
planemo upload for repository https://github.com/esg-epfl-apc/tools-astro/tree/main/tools/astropytools commit fc50bfef893e657560ba05e00858f53a53fbe2f0
| author | astroteam |
|---|---|
| date | Fri, 25 Apr 2025 08:39:14 +0000 |
| parents | cf608e2b1436 |
| children | 6b6dc2b5e52d |
comparison
equal
deleted
inserted
replaced
| 0:cf608e2b1436 | 1:c780d644a93a |
|---|---|
| 1 <tool id="astropy_fits2bitmap" name="astropy fits2bitmap" version="0.1.0+galaxy0" profile="21.05"> | 1 <tool id="astropy_fits2bitmap" name="astropy fits2bitmap" version="0.2.0+galaxy0" profile="21.05"> |
| 2 <requirements> | 2 <requirements> |
| 3 <requirement type="package" version="5.2.2">astropy</requirement> | 3 <requirement type="package" version="6.1.7">astropy</requirement> |
| 4 <requirement type="package" version="3.6.0">matplotlib</requirement> | 4 <requirement type="package" version="3.10.1">matplotlib</requirement> |
| 5 </requirements> | 5 </requirements> |
| 6 <command detect_errors="exit_code"><![CDATA[ | 6 <command detect_errors="exit_code"><![CDATA[ |
| 7 #if $reverse_cmap: | 7 #if $reverse_cmap: |
| 8 #set $cmap = $cmap + "_r" | 8 #set $cmap = $cmap + "_r" |
| 9 #else: | 9 #else: |
| 10 #set $cmap = $cmap | 10 #set $cmap = $cmap |
| 11 #end if | 11 #end if |
| 12 fits2bitmap '$input_fits' --stretch '$stretch' --cmap $cmap -o out.png | 12 fits2bitmap '$input_fits' --stretch '$stretch' --ext $hdu --cmap $cmap -o out.png |
| 13 ]]></command> | 13 ]]></command> |
| 14 <inputs> | 14 <inputs> |
| 15 <param type="data" name="input_fits" format="fits" label="FITS file containing a sky image"/> | 15 <param type="data" name="input_fits" format="fits" label="FITS file containing a sky image"/> |
| 16 <param type="integer" name="hdu" value="0" min="0" label="Select input HDU number"/> | |
| 16 <param type="select" name="stretch" label="Stretch image scale" help="Type of image scale stretching"> | 17 <param type="select" name="stretch" label="Stretch image scale" help="Type of image scale stretching"> |
| 17 <option value="linear">linear</option> | 18 <option value="linear">linear</option> |
| 18 <option value="sqrt">square root</option> | 19 <option value="sqrt">square root</option> |
| 19 <option value="power">power law</option> | 20 <option value="power">power law</option> |
| 20 <option value="log" selected="true">logarithmic</option> | 21 <option value="log" selected="true">logarithmic</option> |
