BAORadio / PAON4 c++ software suite
- R. Ansari
Xingchen Tianyuan Hotel, Pingtang, Guizhou, China September 2018
21 cm Cosmology workshop & Tianlai collaboration meeting
AnaPAON4 : Analysis software for PAON4 JSkyMap : Map making and - - PowerPoint PPT Presentation
BAORadio / PAON4 c++ software suite R. Ansari 21 cm Cosmology workshop & Tianlai collaboration meeting Xingchen Tianyuan Hotel, Pingtang, Guizhou , China September 2018 AnaPAON4 : Analysis software for PAON4 JSkyMap : Map making and
Xingchen Tianyuan Hotel, Pingtang, Guizhou, China September 2018
21 cm Cosmology workshop & Tianlai collaboration meeting
✤ AnaPAON4 : Analysis software for PAON4 ✤ JSkyMap : Map making and simulation software suit
for transit instruments ( Jiao Zhang PhD)
✤ TAcq : Acquisition software and software correlator
C++ software, using the SOPHYA class library
✤ Classes for reading/managing the visibility files ✤ Satellites subdirectory: Satellites position / track computation (C. Magneville) ✤ AnaFringes subdirectory: Fringe fitting (with Minuit) (J.E.Campagne) ✤ Phase calibration , array geometry - also part of Qizhi Huang’s PhD work ✤ Script subdirectory: running different tasks , few python scripts ✤ A number of utility Classes in p4autils.h .cc :
✤ P4FreqBand , P4VisiNumEncoder , P4AnaParams , P4Coords , P4RAMapUtil
✤ Visibility reading classes (visip4reader.h .cc) :
✤ VisiP4ReaderBase , VisiP4ReaderNoDB , VisiP4ReaderDB
✤ Classes to compute gains and apply them : g(nu) ( p4gnugain.h .cc ) and G(t) ( p4gvcor.h
.cc )
✤ P4gnuGain , P4gvCor
git@gitlab.in2p3.fr:baoradio/AnaPAON4.git
✤ Input visibility reader classes (visip4reader.h .cc) , with services to select data one time
frame …
✤ VisiP4ReaderBase , VisiP4ReaderNoDB , VisiP4ReaderDB
✤ Phase correction class Φ(ν) ( p4phcor.h .cc )
✤ P4PhaseCor
✤ Higher level visibility reader class, with time windowing, with the capability to apply
gain/phase correction (visp4winreader.h .cc)
✤ VisiP4WindowReader
✤ Few programs to perform averaging/filtering to produce time-frequency (ou RA-freq)
✤ visiavg.cc visi2ra.cc visi2dtacx.cc visi2nt.cc
git@gitlab.in2p3.fr:baoradio/AnaPAON4.git
Map making (visibility to map) and simulation (map to visibility) software tools - J. Zhang PhD Needs some documentation, maybe Jiao will write some …
✤ Simulation / computation of visibilities from spherical maps and map reconstruction
from visibilities
✤ J. Zhang PhD work (and papers) ✤ Example of utility codes: vis2map.cc , p4src2vis.cc , map2vis.cc ✤ (α,δ) map reconstruction through linear combination (beam-forming/phase-array) of
visibilities for PAON4 p4src2vis.cc (NOT applicable for polar cap) - Can be useful for mid latitude observations with Tianlai dish array
TArray<double> make_map_from_visibilities(vector< TArray< complex<double> > > & vec_visarr, bool useauto=false);
✤ Computing PAON4/Tianlai visibilities from a spherical map from a spherical
(HEALPix) or other pixelisations available in SOPHYA or from a liste of sources. Can easily make a version for Tianlai dish array.
git@gitlab.in2p3.fr:SCosmoTools/JSkyMap.git
SOPHYA class library (http://www.sophya.org)
(J. Zhang PhD)
GIT repo: https://gitlab.in2p3.fr/SCosmoTools/JSkyMap
A flexible and efficient c++ software for interferometer data acquisition, correlator (can be extended to beam former) - mostly for development/debugging purposes
https://gitlab.in2p3.fr/baoradio/tacq
Several level of parallelism :
✤ Multi-thread programs / object oriented (C++) architecture ✤ FITS files (+ directory structure) for data storage (raw data/Fourier
coefficient/Visibilities/spectra)
✤ BRPaquet hardware / software data exchange unit ✤ RAcqMemZoneMgr (memory manager) insure thread
synchronisation/coordination
✤ Thread objects (ZThread) perform differents tasks ✤ Uses the SOPHYA C++ class library ✤ HDF5 files can also be used , as the latest SOPHYA release has / will
have HDF5 support
https://gitlab.in2p3.fr/baoradio/tacq
✤ Class BRPaquet & BRPaqChecker ✤ Class RAcqMemZoneMgr (Multi fiber / link managed memory zone) ✤ Thread (task) classes (ZThread) ( see next slide) ✤ Class MiniFITSFile
HDR TRL BRPaquet … Data … The programs can be deployed over a computer cluster, and coherent execution over time is insured partly thank to the BRPaquet TimeTagged data paquets
threaded internally)
threaded internally)
P11 P12 P13 P14 … P21 P22 P23 … P31 P32 …
RAcqMemZoneMgr T1 -ReadEternet
BRVisibilityCalculator
ZThread
Fils d’exécution : EthernetReader, VisiCalc, Monitoring …
T3 - Monitoring
DMA-Task
PCIExpress Ethernet
Task: PCIExpress ➠ Ethernet Acquisition/visibility computation(mfacq)
PAON4 acquisition configuration
Waveform data stream from receivers First layer:perform FFT, split in frequency bands and send to the second level
Network
Second layer: computes correlations - saves data to disk
The same program runs, all the configuration, including the cluster configuration, in parameters (datacard) Operation over different nodes in streaming mode (data is pushed forward)