Giter VIP home page Giter VIP logo

assai's Introduction

Hi there

Welcome to my stock of code repositories. Most of the repositories in here were used for projects in the past, that I keep for the records. Some repositories are good stuff, that I (still) use evey now and then, for data analysis or administrative (sysadmin) tasks.

You will notice most of the repositories are in Python -- especially the ones doing data analysis/management. Some web-stuff in JavaScript, sys-admin content is mostly in Bash. And many apps/services are packaged as Docker containers.

Metrics

Powered by lowlighter/metrics

assai's People

Contributors

chbrandt avatar

Watchers

 avatar  avatar  avatar

assai's Issues

Implement high-level equations interface

To simplify the units conversion interface -- between the data input and the sed/output (erg/s/cm2) -- a less programmatic (or python programming) interaction with the user is very welcome.

Context

Take for example the sdss catalog entry (assai/catalogs/sdss/): in the filters.py module, a set of equations define how to convert SDSS' nanomaggies to erg/s/cm2. It is a python module (working like plugin) where functions flux_density and wavelength must be defined -- catalogs/filters.py expect those functions to be defined as well as the filters dictionary

Problem

Too technical, too delicate. Besides the necessity of knowing the python language, the user is very much prone to errors; the structure in place is very specific.

Alternatives

Ideally, the user will have to define a flux-density expression in a simple pseudo-code. Something like it would be done in Mathematica, Maple, Latex, for example. If one simple equation is all it takes to convert the "whatever-units" to erg/s/cm2, great, but expression can be a system of equations also.

We cannot though accept freely equations/expressions given by the user and simply eval, this is clearly unsafe; We must apply some parsing and/or use a restricted framework. The following may help find the solution:

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.