Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9e925ade authored by hhakim's avatar hhakim
Browse files

Minor changes.

- Fix a few PEP warnings in pyfaust.py (a lot remain but they're not critical).
- Mention in TODOLIST.developer that we rather use gitlab issues (the file should be deleted later).
parent cb20b461
Branches
Tags
No related merge requests found
......@@ -4,6 +4,7 @@
######## Flexible Approximate Multi-Layer Sparse Transform ##########
##########################################################################
NOTE (04/2019): this TODOLIST is deprecated, look at gitlab issues.
##########################################################################
General purpose:
......
......@@ -2,13 +2,13 @@
# @PYFAUST_LICENSE_HEADER@
## @package pyfaust @brief <b> The FAuST Python Wrapper</b>
import copy
import numpy as np, scipy
from scipy.io import savemat, loadmat
from scipy.io import loadmat
from scipy.sparse import csr_matrix, csc_matrix
import FaustCorePy
import pyfaust
import pyfaust.factparams
class Faust:
"""<b>FAuST Python wrapper main class</b> for using multi-layer sparse transforms.
......@@ -1474,7 +1474,6 @@ class Faust:
return isinstance(obj, Faust)
import pyfaust.factparams
class FaustFactory:
"""
......@@ -1726,7 +1725,7 @@ class FaustFactory:
Among other checkings, it sets parameters from simplified ones.
"""
from pyfaust.factparams import (ParamsHierarchicalFact,
ParamsFactFactory)
ParamsFactFactory)
if(not isinstance(p, ParamsHierarchicalFact) and
ParamsFactFactory.is_a_valid_simplification(p)):
p = ParamsFactFactory.createParams(M, p)
......@@ -2072,8 +2071,6 @@ class FaustFactory:
"""
from pyfaust.factparams import _init_init_D
from pyfaust.factparams import (ParamsHierarchicalFact,
ParamsFactFactory)
p = FaustFactory._prepare_hierarchical_fact(U, p, "fgft_palm", ret_lambda,
ret_params, 'U')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment