semvec/pypi-packages huggingface dataset:
hyspy 0.0.1.3
A python package for analyzing hyper & multi spectral images
Requires Python: >=3.6

# hyspy

A python package for analyzing hyper & multi spectral images

## Installation

```bash
pip install hyspy
```

## Current Features
* View hyper and multi spectral image
* View spectral signature
* Open MATLAB files
* Get metadata

## Github
[github/hyspy](https://github.com/TomAmpiath/hyspy)
cache-map 0.4
Cache Mapping for Direct and LRU mapping.

# EXAMPLE CODE

```
c = int(input('Enter the cache memory size : '))
m = input('Enter the memory blocks : ')

print("1. Direct Map\n2. LRU Map")
choice = int(input('Enter the choice : '))

if choice == 1:
	# D I R E C T   M A P
	direct_map = cache_map.CacheMapping(c, m)
	direct_map.directMap()
	direct_map.display()

elif choice == 2:
	# L R U   M A P
	LRU_map = cache_map.CacheMapping(c, m)
	LRU_map.mapLRU()
	LRU_map.display()

else:
	print('Wrong Command')
```

# OUTPUT - DIRECT MAP

### Consider a direct mapped cache with 8 cache blocks (0-7). If the memory block requests are in the order - 3, 5, 2, 8, 0, 6, 3, 9, 16, 20, 17, 25, 18, 30, 24, 2, 63, 5, 82, 17, 24
```
Enter the cache memory size : 8
Enter the memory blocks : 3 5 2 8 0 6 3 9 16 20 17 25 18 30 24 2 63 5 82 17 24
1. Direct Map
2. LRU Map
Enter the choice : 1
Hit :  3
Miss :  18
Memory size :  21
[8, 0, 16, 24]
[9, 17, 25, 17]
[2, 18, 2, 82]
[3]
[20]
[5]
[6, 30]
[63]
```

# OUTPUT - LRU MAP

### 7.Consider a fully associative cache with 8 cache blocks (0-7). The memory block requests are in the order - 4, 3, 25, 8, 19, 6, 25, 8, 16, 35, 45, 22, 8, 3, 16, 25, 7
```
Enter the cache memory size : 8
Enter the memory blocks : 4 3 25 8 19 6 25 8 16 35 45 22 8 3 16 25 7
1. Direct Map
2. LRU Map
Enter the choice : 2
Hit :  5
Miss :  12
Memory size :  17
[4, 45]
[3, 22]
[25]
[8]
[19, 3]
[6, 7]
[16]
[35]
```
qop 0.0.2
Make quantum operators and algebras native in python

# QOP

*Make quantum operators and algebras native in python*

Behold, the power of qop.

* Boson

```python
from qop.boson import *
assert (b0.D*b0)**3 == b0.D*b0+3*b0.D**2*b0**2+b0.D**3*b0**3
```

* Fermion

```python
from qop.fermion import *
assert (c0.D*c0)**3 == c0.D*c0
```

* Hardcore Boson

```python
from qop.hardcoreboson import *
assert (hb0.D*hb0)**2 ==hb0.D*hb0
assert hb0*hb1 == hb1*hb0
```

* Spin

```python
from qop.spin import *
assert s0.x*s0.y == 1j/2*s0.z
assert s0.z*s1.x == -2j*s1.x*s0.x*s0.y
```

* Grassmann numbers

```python
from qop.grassmann import *
assert (1+g(0)*g(1))**2 == 1+2*g(0)*g(1)
```

* Quaternion numbers

```python
from qop.quaternion import *
assert (1-qi)/(1-qj) == 0.5*(1-qi+qj-qk)
```

* Symbols

```python
from qop.symbol import *
a = Symbol("a")
assert np.conj(2+a).evaluate({"a": 1j}) == 2-1j
```

* Quantum states

```python
from qop.fermion import *
from qop.state import *
assert Sf("1").D | c1.D * c1 | c1.D | Sf() == 1.0
```

And mix all, we have

```python
U = Symbol("U")
assert Sf("12").D | U * (np.array([c1.D, c2.D]) @ np.array([c1, c2])) ** 2 | Sf("12") == 4 * U
```

Or einsum with opt_einsum

```python
from opt_einsum import contract
from qop.symbol import *
a,b,c,d = Symbols("abcd")
simplify(contract("ijk,i->jk", d*np.ones([3,3,3]), np.array([a,b,c])))
```

See more examples in tests.
Prep-GMAT-tool-emialex 1.2.1
access questions relating to GMAT

GMAT Preparation helps users prepare for the test by getting several GMAT questions online rather than buying several books. The app has two types of tests, the Verbal and the Quantitative tests.

In order to get this test, a first time user ha to register before login. If user is already registered, user can skip registration and go ahead to login or exit app. During registration, user is asked for full name, preferred username, email, password (must be at least seven characters). A nine digit token is generated after complete registration.

The app ensures the user make use of an already registered username and password to login. After successful login, user is required to enter to token key to get access to either of the test.

User is given options to either Quantitative questions , Verbal questions or log out. If user choose Quantitative test, user get Quantitative questions same as the Verbal test. If user choose logout, it goes back to the login menu

INSTRUCTIONS TO INSTALL To use this app, user must have python IDE. User should run this command on terminal.

Copy and paste the pip install command you see on the top left corner of this page on your terminal.

After installation is complete, to use this app, user should input this command;

run

Installation requirements: 
Python IDE, Beautifulsoup, requests