Skip to main content

title: The CosmoAI project

The CosmoSim software

This project provides a simulator for gravitational lensing based on Chris Clarkson's Roulettes framework. The code is experimental, and intended for research, with many loose ends. If you think it may be useful, we shall be happy to discuss collaboration and help you get started.

The core team is

Documentation is on the web site, The notes below is just a brief synopsis.

Installation Guide

CosmoSim is set up to build python packages (wheels) that can be installed with pip.

pip install CosmoSim

You can check the version installed with

python -m CosmoSim --version

Local build

We successfully build CosmoSim for Linux/x86_64, MacOS/arm, and Windows/amd64, for python 3.11 through 3.14 (the free-threaded 3.14t build is available on Linux and macOS).

To build locally from source, you can run (from the root of the repo),

pip install build
python -m build

This is highly dependent on the local configuration, and may fail for a number of reasons. If it succeeds, the binary file for the python module appears under src/CosmoSim.

If you can build, pip can also install the package from the working directory. Again, from the root of the repo,

pip install .

For non-standard building, see BUILD.md.

Running the GUI

python3 -m CosmoSim.GUI

The GUI tool is hopefully quite self-explanatory.
The images shown are the actual source on the left and the distorted (lensed) image on the right.

The Command Line Interface (CLI)

An illustrative test set can be generated by the following command.

mkdir images
python3 -m CosmoSim -CR -Z 400 --csvfile Datasets/dataset.csv --directory images

This generates a range of images in the newly created images directory.

The flags may be changed; -C centres det distorted image in the centre of the image (being debugged); -Z sets the image size; -R prints an axes cross.

Further documentation and examples are found on the web site,

Versions

  • The imortant git branches are
    • develop is the current state of the art
    • master should be the last stable version
  • Releases
    • v-test-* are test releases, used to debug workflows. Please ignore.
    • see the releases on github and CHANGELOG.md

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cosmosim-3.2.4.tar.gz (7.9 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cosmosim-3.2.4-cp314-cp314t-manylinux_2_28_x86_64.whl (15.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

cosmosim-3.2.4-cp314-cp314t-macosx_11_0_arm64.whl (9.1 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

cosmosim-3.2.4-cp314-cp314-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.14Windows x86-64

cosmosim-3.2.4-cp314-cp314-manylinux_2_28_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

cosmosim-3.2.4-cp314-cp314-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

cosmosim-3.2.4-cp313-cp313-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.13Windows x86-64

cosmosim-3.2.4-cp313-cp313-manylinux_2_28_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

cosmosim-3.2.4-cp313-cp313-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

cosmosim-3.2.4-cp312-cp312-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.12Windows x86-64

cosmosim-3.2.4-cp312-cp312-manylinux_2_28_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

cosmosim-3.2.4-cp312-cp312-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

cosmosim-3.2.4-cp311-cp311-win_amd64.whl (3.7 MB view details)

Uploaded CPython 3.11Windows x86-64

cosmosim-3.2.4-cp311-cp311-manylinux_2_28_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

cosmosim-3.2.4-cp311-cp311-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file cosmosim-3.2.4.tar.gz.

File metadata

  • Download URL: cosmosim-3.2.4.tar.gz
  • Upload date:
  • Size: 7.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cosmosim-3.2.4.tar.gz
Algorithm Hash digest
SHA256 841744130286d2fcae8bf09535ae2db9bce68344a5f17ec714e76a9e862bd741
MD5 29cf23e35e834197ebea3962848186cf
BLAKE2b-256 9aac3cbcbb79ef4e538ca9f5a364c1273f0f48dcee5f76232a0b962be282c3d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4.tar.gz:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cosmosim-3.2.4-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 59cd3ffd55aed60875b4e308205494feec38279e35487241be9781d31db766ec
MD5 cd7987803e27579dd6ea1ffe634d79c1
BLAKE2b-256 9a5f7f1a3bc25cb5abadd118cec20c95029893ad7ee260005963e8e66bbf8b61

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp314-cp314t-manylinux_2_28_x86_64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cosmosim-3.2.4-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b5940ae849b6fa7fea03835d7d996b8aba779c0416fbb0aa28bc97249a7adebf
MD5 5f8fdce4495f9eedf89ed097ed0aa0d8
BLAKE2b-256 43dd46f7326043eb6a781f74e9f41dd4a081673567185ef6f7406d6e531bc175

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp314-cp314t-macosx_11_0_arm64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: cosmosim-3.2.4-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cosmosim-3.2.4-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 e538959b7d8c67bd874f6c560942d9aa6e4647139f617813711e494f80121380
MD5 a7881c009e47f5a01fecadb6a7a1573e
BLAKE2b-256 aaacaa02e1bc01c1f0adb941e97fcb9aeb817fb4a344433fb3883fa8553da8f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp314-cp314-win_amd64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cosmosim-3.2.4-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 889b0c44ab5b4c507ee19970945fd73ee4b7036db46f22441adef9f6f94ced61
MD5 4709968d6f2207d6017ffa2cbc415998
BLAKE2b-256 6a41f0abb18fb403dd1c53d29581cbaf94deabddfcb46738df5a619b3b58682d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp314-cp314-manylinux_2_28_x86_64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cosmosim-3.2.4-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 76e9e8d6229d7ff876398b5995dd327646506e72cb2d048fe02ed7bb3d6f5ded
MD5 4726295545302c52088049007ec394bd
BLAKE2b-256 b73cd0f81a54e52c1d0b0ffcd4dc34cfaed71f6b781cf7683ee295316ca5716e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: cosmosim-3.2.4-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cosmosim-3.2.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e4286babfd46d696d864f6c6348ff52cf51e24b037401a6853d7bc2305a212d6
MD5 f56f459e69507103af5a6a076934fdc8
BLAKE2b-256 f79285d6718d476c0b3e3def4e9196abe157b61d8467f95338ab7e050fd21cc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp313-cp313-win_amd64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cosmosim-3.2.4-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0bfe31ac6b8419c1d6c270fd4fce7c4094e2d52faac6dbe738ba8f82d0d2e51f
MD5 28b593429d61059f203fe253c5a38424
BLAKE2b-256 97b467bd003865472b8f5c1aa64cbbb22f082cb1fb1f3033e943463b35bfc55c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cosmosim-3.2.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b21c5ca7adc4517ad586a841cfb24c0d1b5a9a1a2ca1caa9830377d9c0aafc6d
MD5 4a197ad1edf3c74c853b70cd57e32a1a
BLAKE2b-256 d2ce38d9bbee4d12bd7c16d22a66c91023429990d64d33a52447f32475fb0ada

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: cosmosim-3.2.4-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cosmosim-3.2.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7c1c41fa4ad4bbde378a4c6ec169a1cde8a1460d3a2cd74761210de73f1f4887
MD5 d0332c1970dd562e2840630bdf6c91fc
BLAKE2b-256 2a9f2c0f4fb58f819b74ef10ca950a2cf7b631e639cec617841df195c685b70e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp312-cp312-win_amd64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cosmosim-3.2.4-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 58fb1064ec07f05f93680a7477cd9b96bc335a17cb9e37321c180a5ef7c898cf
MD5 00d0a08ad857ded3e4f89f58047cc2ee
BLAKE2b-256 407aa32a66c3c4bdd4116e4d2a2debf86d3dd3ba7da53e99395dd13b3129d4f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cosmosim-3.2.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7182180e59f2d28e437e8fc5b696d05425dbfbbff883315855ee9404a52b763d
MD5 e81116f1c9e12588dec0a020a48d2ba8
BLAKE2b-256 c411c8f469821c5c62d2d3452a0fc5db84da49b4e1ef49043241219c2ff9141a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: cosmosim-3.2.4-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 3.7 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cosmosim-3.2.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a51f0f019756613d0080aeb48d4002dfb427fda1b6ed787185b3a14bcfe78deb
MD5 48add90b7ea6ebdb727f21a05bfce8a8
BLAKE2b-256 bb21bed0aecbb7ac429407b31e4a8cafdb678998fd479b79abd0394ae858a41d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp311-cp311-win_amd64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cosmosim-3.2.4-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9d5da24a209f289299a808a015fa3a531f84c78484d81d342cd194f3c837a21d
MD5 de46d55c96cfd670bc63f540e0c2cfca
BLAKE2b-256 ef37477a77a60bc8cac032a2cd5c54598dcda68af64fa7f4abf6b1edc4d2bc1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cosmosim-3.2.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cosmosim-3.2.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 60d897bd57180af99115e6af5f1ec571691e733c39475988c036c893bda517e5
MD5 5a05a5f1084bd247d4cb9c3379e88e5a
BLAKE2b-256 5fca8ebda108e64c4359153f3287ff0f7e2d052fd1ce6672bfc77bfd0cfb249b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cosmosim-3.2.4-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: pypideploy.yml on CosmoAI-AES/CosmoSim

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

3.3.0

15 files

This release

3.2.4 This release

15 files

3.2.3

15 files

3.2.2

15 files

3.2.1

15 files

3.2.0

15 files

3.1.2

15 files

3.1.1

15 files

3.1.0

15 files

3.0.5

15 files

3.0.4

15 files

3.0.3

11 files

3.0.2

11 files

3.0.1

11 files

3.0.0

11 files

2.9.0

11 files

2.8.1

11 files

2.8.0

11 files

2.7.0

11 files

2.6.8

11 files

2.6.7

11 files

2.6.6

11 files

2.6.5

11 files

2.6.4

11 files

2.6.3

11 files

2.6.1

11 files

2.6.0

11 files

2.5.3

11 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page