python - Python 等效于 MATLAB 的“bitrevorder”函数
问题描述
正如问题所暗示的那样,有没有人知道 MATLAB 的bitrevorder函数的 python 等效函数。
参考这里 -
https://uk.mathworks.com/help/signal/ref/bitrevorder.html
我在 NumPy 库中搜索了一个函数,但找不到类似的东西。
解决方案
编辑:删除我的手动实现,因为它包含在digitrevorder
0.7.0 之前的 scipy 包中,当沙箱文件夹被删除时:https ://github.com/scipy/scipy/blob/maintenance/0.6.x/scipy/沙箱/图像/transforms.py#L224
最近的版本中可能有更新的实现——我不确定。
推荐阅读
- python - 如何在 Keras 中强制(回归)模型输出的单调性?
- mysql - 基于 sum() 的 SQL 查询限制
- node.js - `npm audit` 在 npm 中发现漏洞?
- python - 在 crontab 中设置路径的正确方法是什么?
- mysql - 在 MySql 中使用自连接数据透视表
- logstash - 用于 IBM 集成总线 10 (IIB) 的 ELK
- c++ - C++ Curl post动态变量
- pandas - 无法读取 Google 调查使用 Pandas 生成的 csv 文件
- sql-injection - 如何解决 Athena 的 SQL 注入?
- vim - Vim 折叠表达式不起作用