Skip to content
Snippets Groups Projects
Commit 4dda9c5f authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Added apertif.py.

parent 7469d1e8
No related branches found
No related tags found
No related merge requests found
###############################################################################
#
# Copyright (C) 2017
# ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
# Author
# . Daniel van der Schuur
# Purpose
# . Use stream.py to model the APERTIF data path
# Description
# .
###############################################################################
# Import our StreamArray class
###############################################################################
from stream import *
###############################################################################
# System parameters
###############################################################################
N_DISH = 12 # Number of dishes
N_POL = 2 # Number of polarizations
N_ADC = 64 # Number of ADCs per polarization, per dish
ADC_SAMPLE_RATE = 800000000 # 800 MSPS
N_SEC = 0 # 0 = Unlimited runtime
###############################################################################
# Source of ADC streams
###############################################################################
parallel_dimensions = (('dish', N_DISH),
('pol' , N_POL ),
('adc' , N_ADC ))
serial_dimensions = (('second' , N_SEC),
('adc_sample', ADC_SAMPLE_RATE))
#sa_adc = Source(
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment