Giter Club home page Giter Club logo

Comments (1)

f-brinkmann avatar f-brinkmann commented on June 16, 2024

Seems to be a good idea for me. Color coding would make it easier to comprehend, inheriting would make it less prone to errors. What we should consider is that any changes have to be communicated to APIs that are also using the csv files as their basis. At the time I think only https://github.com/pyfar/sofar

What about the following idea:
We define subconventions for common sets of data, e.g., the subconvention GLOBAL_ATTRIBUTES would contain the global attributes that every convention uses. In each convention, e.g., GeneralFIR the common global attributes could then be 'impoted' for example through the line import GLOBAL_ATTRIBUTES, which would be fairly ease to parse.

Such subconventions could be generated for

  • global attributes
  • data types (FIR, FIR-E, TF, TF-E, SOS)
  • Listener, and
  • Source

We could then simplify conventions by importing all of these and than only add or override things that are new or different. This would make differences between conventions more clear as a side effect. Moreover we could generate those subconventions based on a relatively easy to write script, that first reads all unique attributes from all conventions and counts how often they appear.

In addition, we could have optional subconventions such as ROOM_DESCRIBTION which could be added to any convention in case the user wants to provide detailed information about the room.

from sofatoolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.