Last change
on this file since 3783 was 3783, checked in by ansari, 15 years ago |
Ajout des programmes calcpk.cc calcpk2.cc syncube.cc tjyk.cc (voir fichier README) Reza 15/06/2010
|
File size:
657 bytes
|
Line | |
---|
1 | #include "radutil.h"
|
---|
2 | #include <iostream>
|
---|
3 |
|
---|
4 | int main(int narg, char* arg[])
|
---|
5 | {
|
---|
6 |
|
---|
7 | H21Conversions conv;
|
---|
8 |
|
---|
9 | conv.setRedshift(0.6);
|
---|
10 | conv.setOmegaPixArcmin2(10.*10.);
|
---|
11 | cout << " --------------------------------------------------------------- " << endl;
|
---|
12 | cout << " H21Conversions: z=" << conv.getRedshift() << " Freq=" << conv.getFrequency()
|
---|
13 | << " MHz , Lambda=" << conv.getLambda() << " m , OmegaPix=" << conv.getOmegaPix() << " srad" << endl;
|
---|
14 | cout << " toKelvin(1 Jy)= " << conv.toKelvin(1.) << " toJansky(1 K)=" << conv.toJansky(1.) << endl;
|
---|
15 | cout << " --------------------------------------------------------------- " << endl;
|
---|
16 |
|
---|
17 | return 0;
|
---|
18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.