pymast 0.0.4__tar.gz → 0.0.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymast
3
- Version: 0.0.4
3
+ Version: 0.0.6
4
4
  Summary: Movement Analysis Software for Telemetry (MAST) for
5
5
  Home-page: https://github.com/knebiolo/mast
6
6
  Author: Kevin P. Nebiolo and Theodore Castro-Santos
@@ -14,5 +14,5 @@ Requires-Dist: matplotlib>=3.1.1
14
14
  Requires-Dist: statsmodels>=0.10.1
15
15
  Requires-Dist: networkx>=2.2
16
16
  Requires-Dist: scipy>=1.7.1
17
- Requires-Dist: sklearn
17
+ Requires-Dist: scikit-learn
18
18
  Requires-Dist: h5py
@@ -38,26 +38,26 @@ The tag table must match the following schema and be saved as a comma delimited
38
38
 
39
39
  | Field | Data Type | Comment |
40
40
  |------------|-----------|--------------------------------------------------------------------------|
41
- |FreqCode |String |(required) combination of radio frequency and tag code. **must be unique**|
42
- |PIT_ID |Integer |(not required) if tagged with RFID tag indicate ID |
43
- |PulseRate |Float |(required) seconds between tag pulses |
44
- |MortRate |Float |(not required) if equipped, seconds between tag pulses if fish has died |
45
- |CapLoc |String |(required) capture location of fish |
46
- |RelLoc |String |(required) release location of fish |
47
- |TagType |String |(required) either 'Study' or 'Beacon |
48
- |Length |Integer |(not required) - mm |
49
- |Sex |String |(not required) - either 'M' or 'F' |
50
- |RelDate |DateTime |(required) - Date and time of release |
41
+ |freq_code |String |(required) combination of radio frequency and tag code. **must be unique**|
42
+ |pit_id |Integer |(not required) if tagged with RFID tag indicate ID |
43
+ |pulse_rate |Float |(required) seconds between tag pulses |
44
+ |mort_rate |Float |(not required) if equipped, seconds between tag pulses if fish has died |
45
+ |cap_loc |String |(required) capture location of fish |
46
+ |rel_loc |String |(required) release location of fish |
47
+ |tag_type |String |(required) either 'study' or 'beacon' |
48
+ |length |Integer |(not required) - mm |
49
+ |sex |String |(not required) - either 'M' or 'F' |
50
+ |rel_date |DateTime |(required) - Date and time of release |
51
51
 
52
52
  ## Master Receiver Table
53
53
  The receiver file must contain the following fields and should be saved as a comma delimited text file. Please see the schema below. As with the master tag file, please save the master receiver file to the ‘Data’ folder. A good name for this file is “tblMasterReceiver.csv”.
54
54
 
55
55
  | Field | Data Type | Comment |
56
56
  |------------|-----------|--------------------------------------------------------------------------|
57
- |Name |String |(not required) - common name of reciever location, e.g. 'Norse Farms' |
58
- |RecType |String |(required) - acceptable inputs are either **'lotek'** or **'orion'** |
59
- |recID |String |(required) - alphanumeric ID for receiver, e.g. 'T01' |
60
- |Node |String |(required) - alphanumeric ID for network node, e.g. 'S01'. |
57
+ |name |String |(not required) - common name of reciever location, e.g. 'Norse Farms' |
58
+ |rec_type |String |(required) - acceptable inputs are either **'srx600'**, **'srx800'**, **'srx1200'**, **'orion'**, or **'ares'**| |
59
+ |rec_id |String |(required) - alphanumeric ID for receiver, e.g. 'T01' |
60
+ |node |String |(required) - alphanumeric ID for network node, e.g. 'S01'. |
61
61
 
62
62
  ## Telemetry network
63
63
  If one of your objectives is to analyze how fish move through a study area, you will need to create a table that describes relationships between receivers (single receivers or groupings) by identifying the logical pathways that exist between them. Figure 1 depicts a telemetry network of a recent project completed by Kleinschmidt Associates. Each point on the picture is either a single telemetry receiver or group of receivers. These points are known as nodes and represent telemetered river reaches. The receiver-to-node relationship is mapped in the master receiver table with the ‘Node’ column. The lines, or edges in Figure 1 depict the relationships between nodes. Some are double headed while others are one way. Some edges are one way because it is impossible for a fish to swim up through a hydroelectric turbine. This type of graph is known as a directed acyclic graph. For now, we only need to identify the nodes and give them arbitrary XY coordinates.
@@ -68,8 +68,8 @@ Like the tag and receiver tables, the node table will be saved as a comma delimi
68
68
 
69
69
  | Field | Data Type | Comment |
70
70
  |------------|-----------|--------------------------------------------------------------------------|
71
- |Node |String |(required) - alphanumeric ID for network node **must be unique** |
72
- |Reach |String |(not required) - common name of reach monitored by node, e.g. 'Cabot Tailrace'|
71
+ |node |String |(required) - alphanumeric ID for network node **must be unique** |
72
+ |reach |String |(not required) - common name of reach monitored by node, e.g. 'Cabot Tailrace'|
73
73
  |X |Integer |(required) - arbitrary X coordinate point |
74
74
  |Y |Integer |(required) - arbitrary Y coordinate point |
75
75
 
@@ -468,8 +468,8 @@ def srx1200(file_name,
468
468
  # read in telemetry data
469
469
  if new_split == None:
470
470
  telem_dat = pd.read_fwf(file_name,
471
- colspecs = [(0,6),(6,20),(20,32),(32,40),(40,55),(55,64),(64,72),(72,85),(85,93),(93,102)],
472
- names = ['Index','Date','Time','[uSec]','Tag/BPM','Freq [MHz]','Codeset','Antenna','Gain','RSSI'],
471
+ colspecs = [(0,7),(7,25),(25,35),(35,46),(46,57),(57,68),(68,80),(80,90),(90,102),(102,110),(110,130),(130,143),(143,153)],
472
+ names = ['Index','Rx Serial Number','Date','Time','[uSec]','Tag/BPM','Freq [MHz]','Codeset','Antenna','Gain','RSSI','Latitude','Longitude'],
473
473
  skiprows = dataRow,
474
474
  skipfooter = eof - dataEnd)
475
475
  telem_dat.drop(columns = ['Index'], inplace = True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymast
3
- Version: 0.0.4
3
+ Version: 0.0.6
4
4
  Summary: Movement Analysis Software for Telemetry (MAST) for
5
5
  Home-page: https://github.com/knebiolo/mast
6
6
  Author: Kevin P. Nebiolo and Theodore Castro-Santos
@@ -14,5 +14,5 @@ Requires-Dist: matplotlib>=3.1.1
14
14
  Requires-Dist: statsmodels>=0.10.1
15
15
  Requires-Dist: networkx>=2.2
16
16
  Requires-Dist: scipy>=1.7.1
17
- Requires-Dist: sklearn
17
+ Requires-Dist: scikit-learn
18
18
  Requires-Dist: h5py
@@ -4,5 +4,5 @@ matplotlib>=3.1.1
4
4
  statsmodels>=0.10.1
5
5
  networkx>=2.2
6
6
  scipy>=1.7.1
7
- sklearn
7
+ scikit-learn
8
8
  h5py
@@ -1,7 +1,7 @@
1
1
  from setuptools import setup
2
2
 
3
3
  setup(name = 'pymast',
4
- version = '0.0.4',
4
+ version = '0.0.6',
5
5
  description = '''Movement Analysis Software for Telemetry (MAST) for
6
6
  use in removing false positive and overlap detections from radio telemetry
7
7
  projects and assessing 1D movement patterns.''',
@@ -17,7 +17,7 @@ projects and assessing 1D movement patterns.''',
17
17
  "statsmodels >= 0.10.1",
18
18
  "networkx >= 2.2",
19
19
  "scipy >= 1.7.1",
20
- "sklearn",
20
+ "scikit-learn",
21
21
  "h5py"],
22
22
  zip_safe = False
23
23
  )
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes