Comments (6)
In Moreesc, I used hdf5pickle to efficiently serialize the instances of the simulation class (both configuration and results are stored, and the full instance can be reconstructed). It relies on pytables, and has not evolved for a couple of years.
There is also a hickle package that seems newer but more limited than hdf5pickle (only lists and numpy arrays can be stored, only experimental support for py3, but based on h5py).
from pyphs.
@FabricioS Waou, thank you. hdf5pickle shall be used for saving python object, and a pytables wrapper shall be used for managing hdf5 results shared with c++ objects.
And, could-we discuss the implementation of the Moreesc objects in the pyphs dictionary? This could be close to the (recent) implementation of the fender rhodes!
from pyphs.
Hi Antoine,
the Moreesc objects are pretty simple. It assumes :
- the input impedance of the acoustic resonator can be expanded on a modal series. In the Laplace domain, it writes
$Z(s) = \sum_n C_n/(s_n)$ with the poles$s_n$ and residues$C_n$ . The internal variables are then the real and complex parts of the pressure components. - the dynamics of the mechanic valve can be represented by a transfer function H(s)/P(s) = B(s)/A(s) where
$h(s)$ is the valve opening,$p(t)$ the driving pressure, $B(s) and$A(s)$ are two polynomials in the Laplace variable$s$ . - In the case of simple woodwind or brass modelling, the flow is considered as instantaneous, i.e. without intrinsic dynamics.
All the details are in the Acta Acustica paper : https://doi.org/10.3813/AAA.918693
from pyphs.
Hi Antoine,
I just listened to your seminar and "hands on" sessions at Ircam. Thank you for that.
One of the points that were discussed is about the refactoring of the IO subsystem, i.e., the storage of inputs and results of simulations.
How are you doing on that? Would you mind some brainstorming before coding ? I may help if you need
from pyphs.
Hi Fabrice,
I opened a topic on the PyPHS Q&A mailing list here:
https://groups.google.com/forum/#!topic/pyphs/2M6-dHJw1EA
from pyphs.
PyPHS use HDF files for simulation results since 0.3.
from pyphs.
Related Issues (20)
- Python doesn't raise errors if the C++ compilation fails HOT 2
- Debug module for NL solver convergence issue
- Unfold the evaluation of implicit function in NL solver
- Complexity of FAUST code is to high for more than 2 NL components
- Externalize the modules for LATEX/JUCE/FAUST code generation HOT 2
- Discarding linear part of a quadratic Hamiltonian HOT 5
- Account for linear part of Hamiltonian of linear components in latex rendering system HOT 1
- matvecprod ShapeError in Typical use HOT 3
- minor warnings related to manifest HOT 2
- Rhodes Example: TypeError: can't convert expression to float HOT 2
- Memory issues for huge number of samples HOT 7
- Add rotary mechanical elements to PyPHS HOT 3
- Improve time to plot data HOT 2
- Issue when installing PyPHS HOT 3
- redefinition of symbols are not allowed HOT 3
- 'NodeView' object has no attribute 'index' HOT 5
- AssertionError: flux-controlled edge xBSC1 is effort-controlled I don't understand HOT 2
- Is it possible to define a state feedback control (u = k*x) for the simulation? HOT 4
- Eigen stack allocation limit
- C++ code feature: CMakeLists.txt template HOT 7
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 pyphs.