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
Traceback (most recent call last): | |
File "/usr/bin/django-admin", line 5, in <module> | |
management.execute_from_command_line() | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.p y", line 399, in execute_from_command_line | |
utility.execute() | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.p y", line 392, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 285, in execute |
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
# alternative bivariate chloropleth map legend | |
# by Florian Hoedt | |
# [email protected] | |
require(maptools) | |
require(ape) #needed? | |
# shp with data | |
dataPath <- "C:/temp/Modul_09_VisKarto/A/A_1/both.shp" | |
shpData <- readShapePoly(dataPath) |
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
#[ pyt stuff ...] | |
class MetricsCalcTool(object): | |
def __init__(self): | |
self.category = "ZonalMetrics" | |
self.label = "FILL ME IN SUBCLASS" | |
self.description = "FILL ME IN SUBCLASS" | |
self.canRunInBackground = True | |
self._temp_layers = [] | |
self._temp_layer_nb = 1 |
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
### configuration file for assos_listen | |
# upload | |
upload = False | |
# config for this sensor | |
sensorID = "al_03" | |
# sampling rate & chunk size | |
chunkSize = 1024 | |
samplingRate = 44100 #44100 # 44100 needed for Aves sampling |
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
### configuration file for assos_listen | |
# upload | |
upload = False | |
# config for this sensor | |
sensorID = "al_03" | |
# sampling rate & chunk size | |
chunkSize = 1024 | |
samplingRate = 44100 #44100 # 44100 needed for Aves sampling |
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
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"# Passive Audio Monitoring Trilateration\n", | |
"\n", | |
"## The Issue\n", | |
"One example of a trilateration algorithm is the GPS based localization. The algorithm uses the runtimes of three or more signals to determine the position of the sensor on earth. In this algorithm the _absolute_ runtimes for each signal are known due to the GPS timestamps send by the satellites.\n", |
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
-- | |
-- PostgreSQL database dump | |
-- | |
-- Dumped from database version 9.6.2 | |
-- Dumped by pg_dump version 10.0 | |
-- Started on 2018-01-03 18:49:42 | |
SET statement_timeout = 0; |
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
SELECT ST_MAKELINE( | |
(SELECT geom | |
FROM samplepoints_xyz | |
WHERE name = 'al_01'), | |
(SELECT geom | |
FROM samplepoints_xyz | |
WHERE name = 'sound_01')), 's1' AS sample |
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
CREATE TABLE samplelines | |
( | |
id serial, | |
name character varying(50) COLLATE pg_catalog."default", | |
CONSTRAINT samplelines_pkey PRIMARY KEY (id) | |
) | |
-- add 3dims enabled geometry column | |
SELECT AddGeometryColumn('public', 'samplelines', 'geom', 25832, 'LINESTRING', 3); | |
-- pick the samplepoints and create lines |
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
select SUM(red.n), black.* | |
from red, black | |
where st_crosses(red.geometry, black.geometry) | |
group by black.ID |
OlderNewer