semvec/pypi-packages huggingface dataset:
m6sourceview 1.0.1
Python package for MORET6 fission source visualization in criticality mode
Requires Python: >=3.9

# M6SourceView

Python package helping to visualize fission sites in a **MORET6** calculation.

Monte Carlo criticality calculations are performed by a series of cycles, each cycle simulating the life of a set of neutrons. When the calculation has converged correctly, the position of the neutron birth sites (which correspond to the fission sites) indicates the most reactive space in the fissile material. It may then be useful to visualize these fission sites to determine the most reactive part of the nuclear system.

This package allows you to:

- calculate the center of mass of the neutrons from the last cycle (presumably the one with the best convergence)
- perform a graphical cut in three dimensions at this center of mass
- display the position of the neutrons on the graphical slices.


⚠️ **Warning**: This package only works on Linux **not** Windows.

Example of output:

![Example output showing fission sites visualization](example/CPX_CONT_0001.m6.fission_sites.png)


# Installation

As is usual practice in the Python world, it is best to install **m6sourceview** in a venv:

```bash
python3 -m venv
source venv/bin/active
pip3 install m6sourceveiw
```


# Usage

In order to use **m6sourceview**, you must activate the outputs for the positions of neutron birth and death sites in the **MORET6** input file. This is done by adding the keywords `POST STAR ENDP` to the output block, as in the following example:


```
OUTP
	POST
		STAR
	ENDP
ENDO
```

Once installed you can use it as:

### As a Python module

```bash
python3 -m m6sourceview input_file.m6
```

### As a command-line tool

```bash
m6sourceview input_file.m6
```

### Options

- `--nb_max_pixel INT`: Maximum number of pixels for the plot (default: 500)
- `--no-show`: Save plot without displaying
- `--max_bank_size`: Maximum number of birth site to load (default: 10k)
- `--output`: Output file path of the plot.

### Examples

```bash
python3 -m m6sourceview example/CPX_CONT_0001.m6
python3 -m m6sourceview example/CPX_CONT_0001.m6 --nb_max_pixel 1000
python3 -m m6sourceview example/CPX_CONT_0001.m6 --no-show
```
poresim 0.3.0
Pore system simulation generator.
Requires Python: >=3.5

<img src="https://github.com/PoreMS/PoreSim/blob/main/docsrc/pics/logo_text_sub.svg" width="60%">

--------------------------------------

[![PyPI Version](https://img.shields.io/badge/PyPI-0.2.0-orange)](https://pypi.org/project/PoreSim/)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://github.com/PoreMS/PoreSim/blob/master/LICENSE)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14028685.svg)](https://doi.org/10.5281/zenodo.14028685)
[![Build Status](https://github.com/PoreMS/PoreSim/actions/workflows/workflow.yml/badge.svg)](https://github.com/PoreMS/PoreSim/actions/workflows/workflow.yml)
[![codecov](https://codecov.io/gh/PoreMS/PoreSim/branch/main/graph/badge.svg)](https://codecov.io/gh/PoreMS/PoreSim)

## Documentation

Online documentation is available at [PoreMS.github.io/PoreSim](http://PoreMS.github.io/PoreSim).

The docs include an example for creating [simulation boxes](http://PoreMS.github.io/PoreSim/simulation.html), and an [API reference](http://PoreMS.github.io/PoreSim/api.html).


## Dependencies

PoreSim supports Python 3.5+.

Installation requires [pyyaml](https://pypi.org/project/PyYAML/) and [jinja2](https://pypi.org/project/Jinja2/).


## Installation

You may instead want to use the development version from GitHub:

    pip install git+https://github.com/PoreMS/PoreSim.git#egg=poresim

    pip install git+https://github.com/PoreMS/PoreSim.git@develop#egg=poresim

Or download the repository and install in the top directory via:

    pip install .


## Testing

To test PoreSim, run the test in the test directory.


## Development

PoreSim development takes place on Github: [www.github.com/PoreMS/PoreSim](https://github.com/PoreMS/PoreSim)

Please submit any reproducible bugs you encounter to the [issue tracker](https://github.com/PoreMS/PoreSim/issues).


## How to Cite PoreSim

When citing PoreSim please use the current **Zenodo DOI** corresponding to the used PoreSim version. (Current DOI is listed in the badges.)
chunter 0.2.0
Cohomological analysis of circular structures in scRNA-seq data
Requires Python: >=3.10

# Cocycle Hunter

Python package for hunting for cocycles in single-cell RNA-seq data.

## Installation

Cocycle hunter can currently be installed as a python package "chunter" from the PyPi test repository "https://test.pypi.org". To following steps might be used to setup a python environment that contains cocycle hunter:

### Using UV package manager

1. Install UV as described on the UV web page.
2. Create an empty folder "testing-cocycle-hunter"
3. In the terminal run
```
uv init
uv add --dev ipykernel
uv add chunter --index testpypi=https://test.pypi.org/simple --index-strategy unsafe-best-match
```

### Using conda + pip

```
conda create -n cocycle-hunter-env python=3.10 pip matplotlib pandas ipykernel
conda activate cocycle-hunter-env
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ chunter==0.1.1
```