|
|
|
With paramio
- explicit parameters (input file names are comma-delimited
without spaces):
ciao> ciaorun add_pha infiles=f1.pha,f2.pha outfile=f12.pha comments="sum of f1+f2"
- using prompts:
ciao> ciaorun add_pha clobber+
Input pha file spec (): f1.pha,f2.pha
Output pha file name (): f12.pha
- using @-files:
ciao> echo f1.pha > f12.at
ciao> echo f2.pha >> f12.at
ciao> echo "summed files:" > c12.at
ciao> echo f1.pha >> c12.at
ciao> echo f2.pha >> c12.at
ciao> ciaorun add_pha @f12.at f12.pha comments=@c12.at
- using cfitsio virtual file syntax:
ciao> ciaorun add_pha f3.pha"[tg_part==2 && (tg_m==-1 || tg_m==1)]" MEG_pm_1st.pha
Without Paramio
The parameter names are omitted, and the first two arguments are
required, there is no prompting. Input file names (if multiple)
should be comma-delimited without spaces.
- basic usage
> add_pha f1.pha,f2.pha,f3.pha f123.pha "sum of f1+f2+f3"
- using @-files (as above):
> add_pha @f12.at f12.pha @c12.at
- using cfitsio virtual file syntax:
> add_pha f3.pha"[tg_part==2 && (tg_m==-1 || tg_m==1)]",\
> f4.pha"[tg_part==2 && (tg_m==-1 || tg_m==1)]" \
> MEG_pm_1st.pha \
> "summed MEG +-1 for two files"
|