Uploading User-Defined Functions onto the AMIDAS Website
The AMIDAS website has been established as an online interactive tool for running simulations and analyzing data in direct Dark Matter detection experiments. At the first phase of the website building, only some commonly used WIMP velocity distribution functions and elastic nuclear form factors have been involved in the AMIDAS code. In order to let the options for velocity distribution as well as for nuclear form factors be more flexible, we have extended the AMIDAS code to be able to include user-uploaded files with their own functions. In this article, I describe the preparation of files of user-defined functions onto the AMIDAS website. Some examples will also be given.
💡 Research Summary
The paper addresses a practical limitation of the AMIDAS (Analysis of MIcroscopic Dark‑matter direct detection data) web platform, which originally supported only a handful of standard WIMP velocity distributions (e.g., Maxwell‑Boltzmann) and a few elastic nuclear form factors (such as Helm or Woods‑Saxon). Because modern dark‑matter phenomenology frequently requires non‑standard velocity components (streams, debris flows, anisotropic halos) or updated nuclear structure calculations (symmetrized Fermi, Skyrme‑based form factors), the authors have extended AMIDAS to accept user‑defined functions uploaded as external source files.
The core of the extension is a well‑defined file format and runtime integration pipeline. Uploaded files must be pure C++ source code; each user‑defined function must be declared with extern "C" to enforce C linkage and must follow a fixed signature: `double func_name(double x, double pars
Comments & Academic Discussion
Loading comments...
Leave a Comment