Git Product home page Git Product logo

micmac's People

Contributors

a-rizzieri avatar aboucaud avatar magwos avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

aboucaud

micmac's Issues

General review and modifs for a better/cleaner code

In French..

  • attention imports circulaires
  • import * en dehors du __init__.py à proscrire
  • manque des listes de méthodes __all__ dans les fichiers
  • naming des fichiers
    => refactorer pour simplifier. La tradition est d'utiliser un seul nom et d'eviter les majuscules
    ex harmonic_Fisher_tools.py => fisher.py
  • utiliser les imports absolus
    exfrom .mixingmatrix import ... => from micmac.mixingmatrix import ...
  • utiliser des sous-modules pour ordonner le code
    ex: jax_Sampling.py + jax_tools.py => jax/sampling.py + jax/tools.py
  • utiliser des lazy imports si pas nécessaires au fonctionnement classique (camb)
    from camb import ... dans la définition des fonctions plutot qu'au début du fichier
  • utiliser un third-party module pour importer les fonctions de fgbuster
    ex: sous-module third_party contenant la license de fgbuster + le code qui t'intéresse
  • docstrings contiennent un mélange entre Google et Numpy style
    => à mettre à jour (copilot ?)
  • ajouter quelques tests pour vérifier que le code tourne toujours peut importe les changements
    ex: MCMC et MICMAC_Harm_obj non définis dans Harmonic_likelihood_sampling.py => le code ne marche pas en l'état

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.