DyLab_3D_MOT/untitled0.py

36 lines
401 B
Python
Raw Normal View History

2021-10-01 14:37:07 +02:00
# -*- coding: utf-8 -*-
"""
Created on Fri Oct 1 10:42:13 2021
@author: Joschka
"""
2021-10-08 11:18:12 +02:00
import numpy as np
2021-10-01 14:37:07 +02:00
a = np.ones(50)
2021-10-26 14:33:07 +02:00
for i in range(0,len(a)):
a[i] *= i
print(a)
print(a[:5])
print(a[5:])
print(a[:-5])
print(10e-3/13.7)
a = 7
if (a == (7 or 3)):
2021-10-27 16:50:17 +02:00
print("true")
print(40*1e-3*np.pi)
print(4/0.127)
print(30/0.3)
print(30/400)
print(4.3*4.8/(60*(0.475/2)**2 *np.pi))
print(1/1.94)