The reader is labeled :
- on the front : RF ID Reader
- on the back : D302 EM Card Encoder MADE IN CHINA
This reader / writer should Work with cards : EM4305 and T5567.
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse |
# Add this snippet to the top of your playbook. | |
# It will install python2 if missing (but checks first so no expensive repeated apt updates) | |
# gwillem@gmail.com | |
- hosts: all | |
gather_facts: False | |
tasks: | |
- name: install python 2 | |
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) |
CB_color_cycle = ['#377eb8', '#ff7f00', '#4daf4a', | |
'#f781bf', '#a65628', '#984ea3', | |
'#999999', '#e41a1c', '#dede00'] |
""" | |
Match two sets of on-sky coordinates to each other. | |
I.e., find nearest neighbor of one that's in the other. | |
Similar in purpose to IDL's spherematch, but totally different implementation. | |
Requires numpy and scipy. | |
""" | |
from __future__ import division | |
import numpy as np |
import numpy | |
def robust_sigma(in_y, zero=0): | |
""" | |
Calculate a resistant estimate of the dispersion of | |
a distribution. For an uncontaminated distribution, | |
this is identical to the standard deviation. | |
Use the median absolute deviation as the initial | |
estimate, then weight points using Tukey Biweight. |