changed licenses in files
This commit is contained in:
parent
3fefa82742
commit
d02dec2179
|
@ -1,4 +1,24 @@
|
||||||
/* -*- c++ -*- */
|
/* -*- c++ -*- */
|
||||||
|
/*
|
||||||
|
* @file
|
||||||
|
* @author Piotr Krysik <pkrysik@stud.elka.pw.edu.pl>
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* 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, 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; see the file COPYING. If not, write to
|
||||||
|
* the Free Software Foundation, Inc., 51 Franklin Street,
|
||||||
|
* Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
%feature("autodoc", "1"); // generate python docstrings
|
%feature("autodoc", "1"); // generate python docstrings
|
||||||
|
|
||||||
|
|
|
@ -2,20 +2,20 @@
|
||||||
/*
|
/*
|
||||||
* @file
|
* @file
|
||||||
* @author Piotr Krysik <pkrysik@stud.elka.pw.edu.pl>
|
* @author Piotr Krysik <pkrysik@stud.elka.pw.edu.pl>
|
||||||
* @section LICENSE
|
* @section LICENSE
|
||||||
*
|
*
|
||||||
* GNU Radio is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 3, or (at your option)
|
* the Free Software Foundation; either version 3, or (at your option)
|
||||||
* any later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* GNU Radio is distributed in the hope that it will be useful,
|
* This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with GNU Radio; see the file COPYING. If not, write to
|
* along with this program; see the file COPYING. If not, write to
|
||||||
* the Free Software Foundation, Inc., 51 Franklin Street,
|
* the Free Software Foundation, Inc., 51 Franklin Street,
|
||||||
* Boston, MA 02110-1301, USA.
|
* Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,17 +1,29 @@
|
||||||
//
|
/* -*- c++ -*- */
|
||||||
// C++ Implementation: gsm_receiver_config
|
/*
|
||||||
//
|
* @file
|
||||||
// Description:
|
* @author Piotr Krysik <pkrysik@stud.elka.pw.edu.pl>
|
||||||
// This file contains classes which define gsm_receiver configuration
|
* @section LICENSE
|
||||||
// and the burst_counter which is used to store internal state of the receiver
|
*
|
||||||
// when it's synchronized
|
* GNU Radio 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, or (at your option)
|
||||||
// Author: Piotr Krysik <perper@o2.pl>, (C) 2009
|
* any later version.
|
||||||
//
|
*
|
||||||
// Copyright: See COPYING file that comes with this distribution
|
* GNU Radio 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 GNU Radio; see the file COPYING. If not, write to
|
||||||
|
* the Free Software Foundation, Inc., 51 Franklin Street,
|
||||||
|
* Boston, MA 02110-1301, USA.
|
||||||
|
*
|
||||||
|
* @section DESCRIPTION
|
||||||
|
* This file contains classes which define gsm_receiver configuration
|
||||||
|
* and the burst_counter which is used to store internal state of the receiver
|
||||||
|
* when it's synchronized
|
||||||
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,16 +1,29 @@
|
||||||
//
|
/* -*- c++ -*- */
|
||||||
// C++ Implementation: gsm_receiver_config
|
/*
|
||||||
//
|
* @file
|
||||||
// Description:
|
* @author Piotr Krysik <pkrysik@stud.elka.pw.edu.pl>
|
||||||
// This file contains classes which define gsm_receiver configuration
|
* @section LICENSE
|
||||||
// and the burst_counter which is used to store internal state of the receiver
|
*
|
||||||
// when it's synchronized
|
* GNU Radio is free software; you can redistribute it and/or modify
|
||||||
//
|
* it under the terms of the GNU General Public License as published by
|
||||||
// Author: Piotr Krysik <perper@o2.pl>, (C) 2009
|
* the Free Software Foundation; either version 3, or (at your option)
|
||||||
//
|
* any later version.
|
||||||
// Copyright: See COPYING file that comes with this distribution
|
*
|
||||||
//
|
* GNU Radio 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 GNU Radio; see the file COPYING. If not, write to
|
||||||
|
* the Free Software Foundation, Inc., 51 Franklin Street,
|
||||||
|
* Boston, MA 02110-1301, USA.
|
||||||
|
*
|
||||||
|
* @section DESCRIPTION
|
||||||
|
* This file contains classes which define gsm_receiver configuration
|
||||||
|
* and the burst_counter which is used to store internal state of the receiver
|
||||||
|
* when it's synchronized
|
||||||
|
*/
|
||||||
#ifndef INCLUDED_GSM_RECEIVER_CONFIG_H
|
#ifndef INCLUDED_GSM_RECEIVER_CONFIG_H
|
||||||
#define INCLUDED_GSM_RECEIVER_CONFIG_H
|
#define INCLUDED_GSM_RECEIVER_CONFIG_H
|
||||||
|
|
||||||
|
|
|
@ -1,57 +1,59 @@
|
||||||
/***************************************************************************
|
/* -*- c++ -*- */
|
||||||
* Copyright (C) 2008 by Piotr Krysik *
|
/*
|
||||||
* pkrysik@stud.elka.pw.edu.pl *
|
* @file
|
||||||
* *
|
* @author Piotr Krysik <pkrysik@stud.elka.pw.edu.pl>
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
* @section LICENSE
|
||||||
* it under the terms of the GNU General Public License as published by *
|
*
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* (at your option) any later version. *
|
* it under the terms of the GNU General Public License as published by
|
||||||
* *
|
* the Free Software Foundation; either version 3, or (at your option)
|
||||||
* This program is distributed in the hope that it will be useful, *
|
* any later version.
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
* This program is distributed in the hope that it will be useful,
|
||||||
* GNU General Public License for more details. *
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* You should have received a copy of the GNU General Public License *
|
* GNU General Public License for more details.
|
||||||
* along with this program; if not, write to the *
|
*
|
||||||
* Free Software Foundation, Inc., *
|
* You should have received a copy of the GNU General Public License
|
||||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
* along with this program; see the file COPYING. If not, write to
|
||||||
***************************************************************************/
|
* the Free Software Foundation, Inc., 51 Franklin Street,
|
||||||
|
* Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** viterbi_detector:
|
* viterbi_detector:
|
||||||
** This part does the detection of received sequnece.
|
* This part does the detection of received sequnece.
|
||||||
** Employed algorithm is viterbi Maximum Likehood Sequence Estimation.
|
* Employed algorithm is viterbi Maximum Likehood Sequence Estimation.
|
||||||
** At this moment it gives hard decisions on the output, but
|
* At this moment it gives hard decisions on the output, but
|
||||||
** it was designed with soft decisions in mind.
|
* it was designed with soft decisions in mind.
|
||||||
**
|
*
|
||||||
** SYNTAX: void viterbi_detector(
|
* SYNTAX: void viterbi_detector(
|
||||||
** const gr_complex * input,
|
* const gr_complex * input,
|
||||||
** unsigned int samples_num,
|
* unsigned int samples_num,
|
||||||
** gr_complex * rhh,
|
* gr_complex * rhh,
|
||||||
** unsigned int start_state,
|
* unsigned int start_state,
|
||||||
** const unsigned int * stop_states,
|
* const unsigned int * stop_states,
|
||||||
** unsigned int stops_num,
|
* unsigned int stops_num,
|
||||||
** float * output)
|
* float * output)
|
||||||
**
|
*
|
||||||
** INPUT: input: Complex received signal afted matched filtering.
|
* INPUT: input: Complex received signal afted matched filtering.
|
||||||
** samples_num: Number of samples in the input table.
|
* samples_num: Number of samples in the input table.
|
||||||
** rhh: The autocorrelation of the estimated channel
|
* rhh: The autocorrelation of the estimated channel
|
||||||
** impulse response.
|
* impulse response.
|
||||||
** start_state: Number of the start point. In GSM each burst
|
* start_state: Number of the start point. In GSM each burst
|
||||||
** starts with sequence of three bits (0,0,0) which
|
* starts with sequence of three bits (0,0,0) which
|
||||||
** indicates start point of the algorithm.
|
* indicates start point of the algorithm.
|
||||||
** stop_states: Table with numbers of possible stop states.
|
* stop_states: Table with numbers of possible stop states.
|
||||||
** stops_num: Number of possible stop states
|
* stops_num: Number of possible stop states
|
||||||
**
|
*
|
||||||
**
|
*
|
||||||
** OUTPUT: output: Differentially decoded hard output of the algorithm:
|
* OUTPUT: output: Differentially decoded hard output of the algorithm:
|
||||||
** -1 for logical "0" and 1 for logical "1"
|
* -1 for logical "0" and 1 for logical "1"
|
||||||
**
|
*
|
||||||
** SUB_FUNC: none
|
* SUB_FUNC: none
|
||||||
**
|
*
|
||||||
** TEST(S): Tested with real world normal burst.
|
* TEST(S): Tested with real world normal burst.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gnuradio/gr_complex.h>
|
#include <gnuradio/gr_complex.h>
|
||||||
#include <gsm_constants.h>
|
#include <gsm_constants.h>
|
||||||
|
|
|
@ -1,57 +1,59 @@
|
||||||
/***************************************************************************
|
/* -*- c++ -*- */
|
||||||
* Copyright (C) 2008 by Piotr Krysik *
|
/*
|
||||||
* pkrysik@stud.elka.pw.edu.pl *
|
* @file
|
||||||
* *
|
* @author Piotr Krysik <pkrysik@stud.elka.pw.edu.pl>
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
* @section LICENSE
|
||||||
* it under the terms of the GNU General Public License as published by *
|
*
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* (at your option) any later version. *
|
* it under the terms of the GNU General Public License as published by
|
||||||
* *
|
* the Free Software Foundation; either version 3, or (at your option)
|
||||||
* This program is distributed in the hope that it will be useful, *
|
* any later version.
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
* This program is distributed in the hope that it will be useful,
|
||||||
* GNU General Public License for more details. *
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* *
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* You should have received a copy of the GNU General Public License *
|
* GNU General Public License for more details.
|
||||||
* along with this program; if not, write to the *
|
*
|
||||||
* Free Software Foundation, Inc., *
|
* You should have received a copy of the GNU General Public License
|
||||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
* along with this program; see the file COPYING. If not, write to
|
||||||
***************************************************************************/
|
* the Free Software Foundation, Inc., 51 Franklin Street,
|
||||||
|
* Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** viterbi_detector:
|
* viterbi_detector:
|
||||||
** This part does the detection of received sequnece.
|
* This part does the detection of received sequnece.
|
||||||
** Employed algorithm is viterbi Maximum Likehood Sequence Estimation.
|
* Employed algorithm is viterbi Maximum Likehood Sequence Estimation.
|
||||||
** At this moment it gives hard decisions on the output, but
|
* At this moment it gives hard decisions on the output, but
|
||||||
** it was designed with soft decisions in mind.
|
* it was designed with soft decisions in mind.
|
||||||
**
|
*
|
||||||
** SYNTAX: void viterbi_detector(
|
* SYNTAX: void viterbi_detector(
|
||||||
** const gr_complex * input,
|
* const gr_complex * input,
|
||||||
** unsigned int samples_num,
|
* unsigned int samples_num,
|
||||||
** gr_complex * rhh,
|
* gr_complex * rhh,
|
||||||
** unsigned int start_state,
|
* unsigned int start_state,
|
||||||
** const unsigned int * stop_states,
|
* const unsigned int * stop_states,
|
||||||
** unsigned int stops_num,
|
* unsigned int stops_num,
|
||||||
** float * output)
|
* float * output)
|
||||||
**
|
*
|
||||||
** INPUT: input: Complex received signal afted matched filtering.
|
* INPUT: input: Complex received signal afted matched filtering.
|
||||||
** samples_num: Number of samples in the input table.
|
* samples_num: Number of samples in the input table.
|
||||||
** rhh: The autocorrelation of the estimated channel
|
* rhh: The autocorrelation of the estimated channel
|
||||||
** impulse response.
|
* impulse response.
|
||||||
** start_state: Number of the start point. In GSM each burst
|
* start_state: Number of the start point. In GSM each burst
|
||||||
** starts with sequence of three bits (0,0,0) which
|
* starts with sequence of three bits (0,0,0) which
|
||||||
** indicates start point of the algorithm.
|
* indicates start point of the algorithm.
|
||||||
** stop_states: Table with numbers of possible stop states.
|
* stop_states: Table with numbers of possible stop states.
|
||||||
** stops_num: Number of possible stop states
|
* stops_num: Number of possible stop states
|
||||||
**
|
*
|
||||||
**
|
*
|
||||||
** OUTPUT: output: Differentially decoded hard output of the algorithm:
|
* OUTPUT: output: Differentially decoded hard output of the algorithm:
|
||||||
** -1 for logical "0" and 1 for logical "1"
|
* -1 for logical "0" and 1 for logical "1"
|
||||||
**
|
*
|
||||||
** SUB_FUNC: none
|
* SUB_FUNC: none
|
||||||
**
|
*
|
||||||
** TEST(S): Tested with real world normal burst.
|
* TEST(S): Tested with real world normal burst.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDED_VITERBI_DETECTOR_H
|
#ifndef INCLUDED_VITERBI_DETECTOR_H
|
||||||
#define INCLUDED_VITERBI_DETECTOR_H
|
#define INCLUDED_VITERBI_DETECTOR_H
|
||||||
|
|
Loading…
Reference in New Issue