Darknews

Latest version: v0.4.2

Safety actively analyzes 622838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.0

Bug fixes
Fix factor of 2 in dipole coupling
* When setting the transition magnetic moment parameters, e.g. mu_tr_mu4, DarkNews was artificially interpreting the coupling as ''d'' instead of ''mu_tr'' (as the name suggests). The relation between these parameters is d = mu/2, so couplings were artificially twice as large as they should have been (and rates four times as large). This bug fix makes the rates consistent with the calculations in [this paper](https://arxiv.org/abs/2206.07100).

Other fixes
* fix bugs in setting the logging level
* fix missing factor of 3 in three_charge in pdg.new_particle()
* update pyhepmc.io import according to the latest pyhepmc version.

Improvements
* delete ToyAnalysis. This will be replaced by the fastbnb package
* improved and updated examples
* allowed setting parameters to None in input files
* created CKM matrix
* created MiniBooNE RHC dirt mode preset experiment
* determining model type now within GenLauncher
* created input tests

0.3.0

**New features:**

1) New dirt implementation for BNB experiments. Uses a toy simulation of the decay pipe to sample in meson decay position (only for BNB detectors).
2) HepMC formats are now working for single photon final states.
3) The user can now set the desired sparseness of the final output. This change affects the internal dataframe in DarkNews before printing, so can also save a lot on memory usage.

**Bug fixes:**

1) Evaluating the form factor for Q2 ranges at large Enu (>>10 GeV) energies sometimes overflowed because of the smallness of the sinc functions. Cut-off in form factor for large Q2 values is now implemented.
2) Several bugs in the previous dirt implementation were fixed.

0.1.2

Version used by Mark to generate MicroBooNE benchmark points.


* Better dirt models for SBN experiments.
* Fixed model le_norm_state bug fix.
* MicroBooNE TPC-only experiment file.

0.1.0

The first release of the package with companion publication on [**arXiv**](https://arxiv.org/abs/2207.04137) and upload to [**PyPI**](https://pypi.org/project/DarkNews/).

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.