semvec/pypi-packages huggingface dataset:
my-calculator-jyy 0.0.1
A comprehensive calculator module for various mathematical operations
Requires Python: >=3.6

# My Calculator

A comprehensive calculator module that supports a variety of mathematical operations including basic arithmetic, advanced calculations, trigonometric functions, logarithmic functions, statistical analysis, and complex number operations.

## Features
- **Basic Operations**: Addition, Subtraction, Multiplication, Division
- **Advanced Operations**: Power, Square Root, Factorial
- **Trigonometry**: Sine, Cosine, Tangent
- **Logarithmic Functions**: Logarithm (base 10 and natural), Exponential
- **Statistics**: Mean, Median, Mode, Standard Deviation
- **Complex Numbers**: Addition, Subtraction, Multiplication, Division

## Installation

You can install the `my_calculator` package using pip once it's available on PyPI:

```bash
pip3 install my_calculator_jyy
maxgcp 0.1.5
Optimized phenotype definitions boost GWAS power
Requires Python: >=3.10

# Maximum genetic component phenotyping

[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![image](https://img.shields.io/pypi/v/maxgcp)](https://pypi.python.org/pypi/maxgcp)
[![image](https://img.shields.io/pypi/l/maxgcp)](https://pypi.python.org/pypi/maxgcp)
[![image](https://img.shields.io/pypi/pyversions/maxgcp)](https://pypi.python.org/pypi/maxgcp)
[![Actions status](https://img.shields.io/github/actions/workflow/status/tatonetti-lab/maxgcp/test.yml?branch=main&label=actions)](https://github.com/tatonetti-lab/maxgcp/actions)

Maximum genetic component phenotyping. Optimized phenotype definitions boost GWAS power.

`maxgcp` is a Python package that implements maximum genetic component phenotyping (MaxGCP), a method that optimizes a linear phenotype definition to maximize its heritability and genetic correlation with a trait of interest.
In short, this method results in a phenotype definition that is, close to the genetic component of the trait of interest, on the individual level.
This phenotype definition can be used in various applications, including enhancement of statistical power in genome-wide association studies (GWAS).
`maxgcp` requires only estimates of genetic and phenotypic covariances, which can be obtained from GWAS summary statistics.

## Usage

```python
import maxgcp
import numpy as np

# Genetic covariances between target and feature phenotypes
genetic_cov_vec = np.array([0.5, 0.75, 0.25])
phenotypic_cov_mat = np.array([
    [0.5, 0.25, 0.1],
    [0.25, 0.3, 0.05],
    [0.1, 0.05, 0.6],
])

# Compute the MaxGCP phenotype (defined by these weights)
w = maxgcp.fit_coheritability(genetic_cov_vec, phenotypic_cov_mat)

# Evaluate MaxGCP at the individual level
feature_phenotypes = np.array([
    [1, 0, 0],
    [0, 0, 1],
    [1, 1, 1],
    [0, 0, 0],
])
maxgcp_phenotypes = feature_phenotypes @ w

# Show the results
>>> maxgcp_phenotypes
array([-0.34242555,  0.18438299,  1.87895044,  0.        ])
```

MaxGCP fits a phenotype (y) to a target (z) to maximize coheritability between y and z.
This package can also fit a maximally heritable phenotype `maxgcp.fit_heritability` or a maximally genetically correlated phenotype (`maxgcp.fit_genetic_correlation`.

## Installation

```bash
pip install maxgcp
```

`maxgcp` depends on NumPy, SciPy, and pandas.
LabSmith-uProcess-x64 1.9.0.3.12
Python x64 support for controlling LabSmith uDevices
Requires Python: <3.13,>=3.12

# uProcess
3/18/2024 uProcess Python support V 1.9.0.3.X (Version now ends with the python version and subversion since these need 
to match the distribution).  

**Note that you may need to move uProcess_x64.pyd from its subfolder in 'site-packages' directly to 'site-packages' or to 'DLLs.' If so, delete the 'site-packages\uProcess_x64' folder and its other contents so python can find this extension.**  

The python extension uProcess_x64.pyd contains Python3.X (Windows, 64-bit) support for controlling LabSmith uDevices.  
-  usage: from uProcess_x64 import *  
It contains the following objects:   
	-  CEIB: electrical interface
	-  C4AM: 4AM 4-channel analog module
	-  C4PM: 4PM 4-channel power module
	-  C4VM: 4VM 4-channel valve driver module
	-  CValve: valve module
	-  CSyringe: SPS01 syringe pump module
	-  CSensor: sensor module
	-  CLoad: load module
	-  CEP01: electrophoresis power supply module
	-  SRegulate: regulation settings and status
	-  SValveCal: valve motion/calibration settings
	-  C4PMChDat: 4PM channel settings and status
	-  PMCh: enum of 4PM channel indices
	-  PMMode: enum of 4PM regulation modes
	-  DigCh: enum of digital channel indices

Use help(<object>) for a list of supported methods and variables.  
print(uProcess.help()) displays this list of objects