Skip to content

AsterLight0626/Twinkle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language


English

Twinkle

A GPU-based high-efficiency binary-lens microlensing code

If you use Twinkle (or part of Twinkle) in your research work, we request citing our paper: Wang et al, 2025, ApJS, 276, 40 , arXiv:2501.03322 .

If you incorporate Twinkle (or part of Twinkle) in your code, we request specifying it in the README file (or equivalent), including the GitHub link ( https://github.com/AsterLight0626/Twinkle ) and asking the users to cite our paper: Wang et al, 2025, ApJS, 276, 40 , arXiv:2501.03322 .

We also provide a Python API. In the ./python directory run python setup.py build_ext --inplace to compile Twinkle into the current directory. For usage examples of the Python version, see ./python/test.ipynb.

CPU Version

We also provide Twinkle_CPU for CPU with identical algorithm as the GPU version.


中文

Twinkle

一套基于GPU的高性能二体微引力透镜求解程序

如果您在研究工作中使用了Twinkle(或Twinkle的一部分),请引用我们的文章:Wang et al, 2025, ApJS, 276, 40 , arXiv:2501.03322 .

如果您将Twinkle(或Twinkle的一部分)整合到您的代码中,请您在README文件(或等效文件)中指明这一点。内容包括GitHub链接 ( https://github.com/AsterLight0626/Twinkle ),并要求用户引用我们的论文:Wang et al, 2025, ApJS, 276, 40 , arXiv:2501.03322 .

我们也提供了 Python API。在 ./python 文件夹中使用 python setup.py build_ext --inplace 将Twinkle编译到当前路径下。Python版本使用方法见 ./python/test.ipynb

CPU 版本

我们也提供了在CPU上运行的 Twinkle_CPU。它的算法实现与 Twinkle 完全相同,会给出完全一致的结果。

About

A GPU-based High-efficiency binary microlensing code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors