Comments (4)
Hi,
Thank you for using our project.
First note that Decoder_BCH
hesitates from Decoder_SIHO
.
I think that you get this error because the task decode_siho
is not implemented in the aff3ct::module::Decoder_SIHO class.
Since Decoder_BCH
does not implement its own, the exception is raised.
A decoder that has an implemented decode_siho
task is for example Decoder_BCH_std
.
You can build it within your example with
dec = py_aff3ct.module.decoder.Decoder_BCH_std(K, N, enc_pol)
For examples using other coding strategies you can find some here.
It is possible to use py_aff3ct
with an SDR module for example using the UHD C++ API (see here for example).
Regards
from py_aff3ct.
Thank you very much for the fast and detailed response! It works well now and the examples in the links are exactly like what I was looking for.
One followup question: while reading the source bits, I see that the source has 7 values of 1 (read using the src['generate::U_K'][:] command). I expected random values, do you know perhaps why it is a constant 1?
Thanks again.
from py_aff3ct.
I believe this is just a realization, if you call src['generate']
several times does the value of src['generate::U_K'][:]
change?
You can also try to change the seed
of the random number generator of the Source_random
module, see this constructor
__init__(self: py_aff3ct.module.source.Source_random, K: int, seed: int = 0) -> None
from py_aff3ct.
Works well, I was just reading the vector too early :(
Also, tried one of the python examples from your link (the bfer_polar.py), also works good.
Thanks again.
from py_aff3ct.
Related Issues (10)
- PyBind Unknown Type HOT 1
- Error when trying to install Py_aff3ct HOT 1
- Incompatible Constructor Arguments HOT 3
- get_trellis method no longer exposed HOT 1
- Issue while compiling HOT 2
- use CRC inside py_aff3ct HOT 4
- Linking AFF3CT with SDRs HOT 2
- Detection flag as the output of the decoder HOT 4
- How to install py_aff3ct in google colab
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py_aff3ct.