No project description provided
Project description
Bayesian PIC-DSC detector
This detection method is proposed in A Bayesian Receiver With Improved Complexity-Reliability Trade-Off in Massive MIMO Systems by Alva Kosasih. It has three modules: BSO does the parallel interference cancellation, BSE does the Bayesian symbol estimation, and DSC does the update.
Kosasih, A., Miloslavskaya, V., Hardjawana, W., She, C., Wen, C. K., & Vucetic, B. (2021). A Bayesian receiver with improved complexity-reliability trade-off in massive MIMO systems. IEEE Transactions on Communications, 69(9), 6251-6266.
- In another local repositiory, add this module
git submodule add git@github.com:whatshow/Phy_Detect_BPIC.git Modules/Detect_BPIC
- import this module
- Matlab
addpath("Modules/Detect_BPIC");
- Python
if '.' not in __name__ : from Modules.Detect_BPIC.BPIC import BPIC else: from .Modules.Detect_BPIC.BPIC import BPIC
- Matlab
How to use
All Bayesian PIC-DSC detector codes are uniform in matlab and python as a class of BPIC. This class is the whole process of the detection. This section will illustrate the methods of this class following the detection process.
- BPIC
@constellation:the constellation, a vector.
@bso_mean_init: 1st iteration method in BSO to calculate the mean. Default:BPIC.BSO_INIT_MMSE, others:BPIC.BSO_INIT_MRC, BPIC.BSO_INIT_ZF(BPIC.BSO_INIT_NOshould not be used but you can try)
@bso_mean_cal: other iteration method in BSO to calculate the mean. Default:BPIC.BSO_MEAN_CAL_MRC(BPIC.BSO_MEAN_CAL_ZFshould not be used but you can try)
@bso_var: use approximate or accurate variance in BSO. Default:BPIC.BSO_VAR_APPRO, others:BPIC.BSO_VAR_ACCUR
@bso_var_cal: the method in BSO to calculate the variance. Default:BPIC.BSO_VAR_CAL_MRC, others:BPIC.BSO_VAR_CAL_MRC(BSO_VAR_CAL_ZFshould not be used but you can try)
@dsc_ise: how to calculate the instantaneous square error. Default:BPIC.DSC_ISE_MRC, others:BPIC.DSC_ISE_NO, BPIC.DSC_ISE_ZF, BPIC.DSC_ISE_MMSE
@dsc_mean_prev_sour: the source of previous mean in DSC. Default:BPIC.DSC_MEAN_PREV_SOUR_BSE, others:BPIC.DSC_MEAN_PREV_SOUR_DSC
@dsc_var_prev_sour: the source of previous variance in DSC. Default:BPIC.DSC_VAR_PREV_SOUR_BSE, others:BPIC.DSC_VAR_PREV_SOUR_DSC
@min_var: the minimal variance.
@iter_num: the maximal iteration.
@iter_diff_min: the minimal difference in DSC to early stop.
@detect_sour: the source of detection result. Default:BPIC.DETECT_SOUR_DSC, others:BPIC.DETECT_SOUR_BSE.
% matlab bpic = BPIC(sympool, "bso_mean_init", BPIC.BSO_MEAN_INIT_MMSE, "bso_var", BPIC.BSO_VAR_APPRO, "bso_var_cal", BPIC.BSO_VAR_CAL_MMSE, "dsc_ise", BPIC.DSC_ISE_MMSE, "detect_sour", BPIC.DETECT_SOUR_BSE);
# python - detect
@y: the received signal, a vector
@H: the channel matrix, a matrix
@No: the noise power, a scalar
- Return Value: the estimated symbols from Tx.
Samples
Before running any sample code, please make sure you are at the root path of this repository. Also, Matlab codes require running init in the command window first to load directories.
TestTest/test_mimo: test the performance of Bayesian PIC-DSC detector in MIMO case.Test/test_case_01: compare the output from this module and Alva's original code## How to use All Bayesian PIC-DSC detector codes are uniform in matlab and python as a class ofBPIC. This class is the whole process of the detection. This section will illustrate the methods of this class following the detection process.
- BPIC
@constellation:the constellation, a vector.
@bso_mean_init: 1st iteration method in BSO to calculate the mean. Default:BPIC.BSO_INIT_MMSE, others:BPIC.BSO_INIT_MRC, BPIC.BSO_INIT_ZF(BPIC.BSO_INIT_NOshould not be used but you can try)
@bso_mean_cal: other iteration method in BSO to calculate the mean. Default:BPIC.BSO_MEAN_CAL_MRC(BPIC.BSO_MEAN_CAL_ZFshould not be used but you can try)
@bso_var: use approximate or accurate variance in BSO. Default:BPIC.BSO_VAR_APPRO, others:BPIC.BSO_VAR_ACCUR
@bso_var_cal: the method in BSO to calculate the variance. Default:BPIC.BSO_VAR_CAL_MRC, others:BPIC.BSO_VAR_CAL_MRC(BSO_VAR_CAL_ZFshould not be used but you can try)
@dsc_ise: how to calculate the instantaneous square error. Default:BPIC.DSC_ISE_MRC, others:BPIC.DSC_ISE_NO, BPIC.DSC_ISE_ZF, BPIC.DSC_ISE_MMSE
@dsc_mean_prev_sour: the source of previous mean in DSC. Default:BPIC.DSC_MEAN_PREV_SOUR_BSE, others:BPIC.DSC_MEAN_PREV_SOUR_DSC
@dsc_var_prev_sour: the source of previous variance in DSC. Default:BPIC.DSC_VAR_PREV_SOUR_BSE, others:BPIC.DSC_VAR_PREV_SOUR_DSC
@min_var: the minimal variance.
@iter_num: the maximal iteration.
@iter_diff_min: the minimal difference in DSC to early stop.
@detect_sour: the source of detection result. Default:BPIC.DETECT_SOUR_DSC, others:BPIC.DETECT_SOUR_BSE.
% matlab bpic = BPIC(sympool, "bso_mean_init", BPIC.BSO_MEAN_INIT_MMSE, "bso_var", BPIC.BSO_VAR_APPRO, "bso_var_cal", BPIC.BSO_VAR_CAL_MMSE, "dsc_ise", BPIC.DSC_ISE_MMSE, "detect_sour", BPIC.DETECT_SOUR_BSE);
# python - detect
@y: the received signal, a vector
@H: the channel matrix, a matrix
@No: the noise power, a scalar
- Return Value: the estimated symbols from Tx.
Samples
Before running any sample code, please make sure you are at the root path of this repository. Also, Matlab codes require running init in the command window first to load directories.
TestTest/test_mimo: test the performance of Bayesian PIC-DSC detector in MIMO case.Test/test_case_01: compare the output from this module and Alva's original code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whatshow_phy_detect_bpic-1.0.2.tar.gz.
File metadata
- Download URL: whatshow_phy_detect_bpic-1.0.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a37b2644215d9542c00013e2d85294e5928d87d533643a430e26ed911a26192
|
|
| MD5 |
05b85a95d0f0c8b6a37cb8bf6d5fe9a3
|
|
| BLAKE2b-256 |
369bf5347782a944195dbfbb2f3d973c4b3d81aaa8cf25fbb8b89bea84c9531c
|
File details
Details for the file whatshow_phy_detect_bpic-1.0.2-py3-none-any.whl.
File metadata
- Download URL: whatshow_phy_detect_bpic-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb0f7372fcb35da3805341dfad164b064c5fb9910155bad41575070c8edfffed
|
|
| MD5 |
b7c0ae7660921ea0c60babce0b9468b9
|
|
| BLAKE2b-256 |
681cc61224d63ffc35661f375196f231087a1fe2aa97dc7eefab081e66d302ba
|