#include "radutil.h" #include int main(int narg, char* arg[]) { H21Conversions conv; conv.setRedshift(0.6); conv.setOmegaPixArcmin2(10.*10.); cout << " --------------------------------------------------------------- " << endl; cout << " H21Conversions: z=" << conv.getRedshift() << " Freq=" << conv.getFrequency() << " MHz , Lambda=" << conv.getLambda() << " m , OmegaPix=" << conv.getOmegaPix() << " srad" << endl; cout << " toKelvin(1 Jy)= " << conv.toKelvin(1.) << " toJansky(1 K)=" << conv.toJansky(1.) << endl; cout << " --------------------------------------------------------------- " << endl; return 0; }