lcode


Namelcode JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://lcode.info
SummaryLCODE is a free software for simulationplasma wakefield acceleration based on QSA.
upload_time2023-06-16 04:37:02
maintainer
docs_urlNone
authorlcodePy-team
requires_python
licenseBSD-3-Clause-extended
keywords plasma wakefield acceleration quasistatic approximation numerical simulation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # lcodePy

## Overview 

LCODE is a free software for numerical simulation of
particle beam-driven plasma wakefield acceleration.
LCODE is based on the quasistatic approximation, capable
of simulation in 2D and 3D geometry, and can use GPUs and CPUs.

For now, this is new and experimental software. This is
a complete overhaul of the old C version in Python.

You can also find a more mature 2D version of LCODE at
http://lcode.info/.

## Instalation 

We use [Anaconda](https://www.continuum.io/why-anaconda) and we recommend 
installing lcode in a separate environment. 
Any other python installation should work fine, but has not been tested. 


- Create a new environment and install the dependencies:
```
conda create -n lcode-env -c conda-forge numba numpy scipy matplotlib
```
or 
```
conda env create -f conda-env.yml  
```
where `conda-env.yml` is avalible in sources.

- Acivate the new environment:
```
conda activate lcode-env
```

- **Optional**: in order to run simulations on GPU, add cupy and other necessary packages to the line of dependencies when creating a new eviroment. Check in advance if you have the drivers for your GPU installed. It is not necessary to install CUDA Toolkit in advance. For any other questions about cupy, please check https://docs.cupy.dev/en/stable/install.html
```
conda create -n lcode-env -c conda-forge numba numpy scipy matplotlib cupy
```

- Install lcode:
```
pip install lcode
```
or download sources from GitHub and run the forlowing command
in downloaded directory:
```
pip install .
```


----------

Fill free to contact `team@lcode.info` for assistance with it.


            

Raw data

            {
    "_id": null,
    "home_page": "https://lcode.info",
    "name": "lcode",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "plasma wakefield acceleration,quasistatic approximation,numerical simulation",
    "author": "lcodePy-team",
    "author_email": "team@lcode.info",
    "download_url": "https://files.pythonhosted.org/packages/e4/1c/b1db0e13d6725f49dd66db5c2c73aa012be4a6a978692a3d1653cbc58e3f/lcode-0.1.0.tar.gz",
    "platform": null,
    "description": "# lcodePy\n\n## Overview \n\nLCODE is a free software for numerical simulation of\nparticle beam-driven plasma wakefield acceleration.\nLCODE is based on the quasistatic approximation, capable\nof simulation in 2D and 3D geometry, and can use GPUs and CPUs.\n\nFor now, this is new and experimental software. This is\na complete overhaul of the old C version in Python.\n\nYou can also find a more mature 2D version of LCODE at\nhttp://lcode.info/.\n\n## Instalation \n\nWe use [Anaconda](https://www.continuum.io/why-anaconda) and we recommend \ninstalling lcode in a separate environment. \nAny other python installation should work fine, but has not been tested. \n\n\n- Create a new environment and install the dependencies:\n```\nconda create -n lcode-env -c conda-forge numba numpy scipy matplotlib\n```\nor \n```\nconda env create -f conda-env.yml  \n```\nwhere `conda-env.yml` is avalible in sources.\n\n- Acivate the new environment:\n```\nconda activate lcode-env\n```\n\n- **Optional**: in order to run simulations on GPU, add cupy and other necessary packages to the line of dependencies when creating a new eviroment. Check in advance if you have the drivers for your GPU installed. It is not necessary to install CUDA Toolkit in advance. For any other questions about cupy, please check https://docs.cupy.dev/en/stable/install.html\n```\nconda create -n lcode-env -c conda-forge numba numpy scipy matplotlib cupy\n```\n\n- Install lcode:\n```\npip install lcode\n```\nor download sources from GitHub and run the forlowing command\nin downloaded directory:\n```\npip install .\n```\n\n\n----------\n\nFill free to contact `team@lcode.info` for assistance with it.\n\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause-extended",
    "summary": "LCODE is a free software for simulationplasma wakefield acceleration based on QSA.",
    "version": "0.1.0",
    "project_urls": {
        "Download": "https://github.com/lcodePy-team/lcodePy",
        "Homepage": "https://lcode.info"
    },
    "split_keywords": [
        "plasma wakefield acceleration",
        "quasistatic approximation",
        "numerical simulation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a771db411f9bde58731c7464b554fbc403e1175b9028d04e0ddeffd08ae33714",
                "md5": "778a97ae6b9491698d7881d9de5dfe35",
                "sha256": "148562266709def81a57363900cf867155050bdfadfe8e04e3fa1d37340f70d1"
            },
            "downloads": -1,
            "filename": "lcode-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "778a97ae6b9491698d7881d9de5dfe35",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 79771,
            "upload_time": "2023-06-16T04:36:52",
            "upload_time_iso_8601": "2023-06-16T04:36:52.735619Z",
            "url": "https://files.pythonhosted.org/packages/a7/71/db411f9bde58731c7464b554fbc403e1175b9028d04e0ddeffd08ae33714/lcode-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e41cb1db0e13d6725f49dd66db5c2c73aa012be4a6a978692a3d1653cbc58e3f",
                "md5": "82ba46c5759bdc96c1939b2242f0bb70",
                "sha256": "3b7111793d6439ee3bd31ba21b9145b9c9c628a8d91e2536fe2bc785344f4ca2"
            },
            "downloads": -1,
            "filename": "lcode-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "82ba46c5759bdc96c1939b2242f0bb70",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 64181,
            "upload_time": "2023-06-16T04:37:02",
            "upload_time_iso_8601": "2023-06-16T04:37:02.484865Z",
            "url": "https://files.pythonhosted.org/packages/e4/1c/b1db0e13d6725f49dd66db5c2c73aa012be4a6a978692a3d1653cbc58e3f/lcode-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-16 04:37:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lcodePy-team",
    "github_project": "lcodePy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "lcode"
}
        
Elapsed time: 0.08081s