These are some of my experimentation codes I made while trying to understand F-Army & Thotro Arduino Library for DWM1000 module. It might be useful for future references, I think.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author : Muhammad Arifin | |
Institution : Department of Nuclear Engineering and Engineering Physics, Universitas Gadjah Mada | |
Initial Release : 29th April, 2020 | |
License : MIT License | |
Description : This program is a direct implementation of mathematical equations | |
used to calculate path loss exponent information from path loss | |
measurement data. The implementation is based on theoritical | |
explanation on Andreas Goldsmith's Wireless Communications book |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author : Muhammad Arifin | |
Date : 30 April 2020 | |
Deskripsi: Program sederhana untuk membuat grafik eskponensial | |
peningkatan konsentrasi CO2 seiring berjalannya waktu. | |
""" | |
import numpy as np | |
import matplotlib.pyplot as plt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author : Muhammad Arifin | |
Date : 1 May 2020 | |
Description : Rewrite the implementation on this repo https://github.com/arnandprabaswara/simple_hebb_neuron/blob/master/Hebb_Rule.ipynb | |
""" | |
import numpy as np | |
import pandas as pd | |
# Inisiasi data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author : Muhammad Arifin | |
Date : 8th May, 2020 | |
Institution : Universitas Gadjah Mada, Department of Nuclear Engineering and Engineering Physics | |
Description : Very rough min-max algorithm implementation for indoor localization problem. | |
RSSI data is obtained from https://github.com/pspachos/RSSI-Dataset | |
""" | |
import numpy as np | |
import matplotlib.pyplot as plt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
import os | |
# def main(): | |
# path = 'D:/Skripsweetku/FILE INTI SKRIPSI/Raw Data/Pengukuran Variasi Jarak Ulangan/' | |
path = 'D:/Skripsweetku/FILE INTI SKRIPSI/Raw Data/Pengukuran Variasi Jarak dan Manusia/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********* | |
Original Project by: Rui Santos | |
Modified by: Alvin Samuel | |
Complete project details at https://randomnerdtutorials.com | |
https://randomnerdtutorials.com/esp32-web-server-arduino-ide/ | |
*********/ | |
// Load Wi-Fi library | |
#include <WiFi.h> |
This simple API is a self improvement of the example given by You Don't Know Js book about closure and modules. In the closure and module section, the author made an example of a simple public API for user creation. After reading that, I was inspired to add some more publicAPI functions for more general use cases. This is the original code from the book:
function User(){
var username, password;
function doLogin(user,pw) {
username = user;
password = pw;
In this gist, I played around with different ways for filtering an array based on objects' value. There are three different ways we can use to filter an array. Those are:
- using normal for loop,
- using filter method with normal callback function
- using filter method with an arrow function as the callback.
OlderNewer