Difference between revisions of "Template:PLAFreqMaps"

From Planck PLA Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Description==
 
==Description==
Template <tt>PLASingleFile</tt> produces a link to a single file in the PLA. The template is used as int he example below
+
Template <tt>PLAFreqMaps</tt> produces a link to a table with the metadata details of the frequency maps selected using the parametes available. The table also contains links to the maps themselves and postage stamp images of the maps.
 
<pre>
 
<pre>
{{PLASingleFile|fileType=aFileType|name=aName|link=linkText}}
+
{{PLAFreqMaps|inst=theInstrumet|freq=theFrequency|period=thePeriod|ring=halfOrFull|link=linkText}}
 
</pre>
 
</pre>
where the allowed values for the parameters are as follows
+
where the parameters can take the following values (the default applies when no value is provided for the parameter)
; <tt>fileType</tt>
+
; <tt>inst</tt>: one of the two Planck instruemts: LFI, HFI (default: both)
: <tt>map</tt> ''(for maps)''
+
: <tt>freq</tt>: one of the Planck frequencies: 30, 44, 70, 100, 143, 217, 353, 545, 857 (default: all frequencies)
: <tt>cat</tt> ''(for catalogues)''
+
: <tt>period</tt>: one of the following coverage period: Nominal, survey1, survey2 (default: Nominal)  
: <tt>cosmo</tt> ''(for cosmology files)''
+
: <tt>ring</tt>: one of the two ring types: half, full (default: show all)
: <tt>anci</tt> ''(for ancillary files)''
 
: <tt>posh</tt> ''(for the POSH)''
 
: <tt>docu</tt> (''for documents)''
 
; <tt>name</tt>
 
: the file name as provided to the PLA by the DPCs
 
 
; <tt>link</tt>
 
; <tt>link</tt>
 
: the text you would like to appear on your link.
 
: the text you would like to appear on your link.
 
==Examples==
 
==Examples==
{{PLASingleFile|fileType=map|name=COM_CompMap_CMB-nilc_2048_R1.10.fits|link=A map}}
+
{{PLAFreqMaps|inst=HFI}}
{{PLASingleFile|fileType=cat|name=ERCSC_f353.fits|link=A Catalogue}}
 
{{PLASingleFile|fileType=cosmo|name=COM_PowerSpect_CMB_R1.00.fits|link=A spectrum}}
 
 
</noinclude><includeonly>[http://pladev.esac.esa.int/pla/aio/metadata-action?RESOURCE_CLASS=FREQUENCY_MAP&SELECTED_FIELDS=MAP.MAP_ID,MAP.SIZE,MAP_PERIOD.NAME,INSTRUMENT.NAME&INSTRUMENT.NAME={{{inst|}}}&FREQUENCY.VALUE={{{freq|}}}&MAP_PERIOD.NAME={{{period|Nominal}}}&FREQUENCY_MAP.JACKKNIFE={{#switch: {{{ring|}}}
 
</noinclude><includeonly>[http://pladev.esac.esa.int/pla/aio/metadata-action?RESOURCE_CLASS=FREQUENCY_MAP&SELECTED_FIELDS=MAP.MAP_ID,MAP.SIZE,MAP_PERIOD.NAME,INSTRUMENT.NAME&INSTRUMENT.NAME={{{inst|}}}&FREQUENCY.VALUE={{{freq|}}}&MAP_PERIOD.NAME={{{period|Nominal}}}&FREQUENCY_MAP.JACKKNIFE={{#switch: {{{ring|}}}
 
| half='true'
 
| half='true'
 
| full='false'}}&RELEASE.NAME=PR1&RETURN_TYPE=HTML {{{link|Frequency Maps}}}]</includeonly>
 
| full='false'}}&RELEASE.NAME=PR1&RETURN_TYPE=HTML {{{link|Frequency Maps}}}]</includeonly>

Revision as of 17:42, 6 March 2013

Description[edit]

Template PLAFreqMaps produces a link to a table with the metadata details of the frequency maps selected using the parametes available. The table also contains links to the maps themselves and postage stamp images of the maps.

{{PLAFreqMaps|inst=theInstrumet|freq=theFrequency|period=thePeriod|ring=halfOrFull|link=linkText}}

where the parameters can take the following values (the default applies when no value is provided for the parameter)

inst
one of the two Planck instruemts: LFI, HFI (default: both)
freq: one of the Planck frequencies: 30, 44, 70, 100, 143, 217, 353, 545, 857 (default: all frequencies)
period: one of the following coverage period: Nominal, survey1, survey2 (default: Nominal)
ring: one of the two ring types: half, full (default: show all)
link
the text you would like to appear on your link.

Examples[edit]

Frequency Maps

(Planck) Low Frequency Instrument

(Planck) High Frequency Instrument