User Tools

Site Tools


pyflow:www_nodes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pyflow:www_nodes [2020/04/11 21:40] (current)
admin created
Line 1: Line 1:
 +======PyFlowWWW======
 +=====§_ArrayColumn=====
 +/*
 +huhu2
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  select a column of a matrix as list
 +  ​
 +[[nodes::​ArrayColumn|More ...]]
 +
 +
 +Videos: https://​youtu.be/​VpkHyqaTgh4
 +
 +===INPUT PINS===
 +**__array__** ​
 +[[AnyPin]]
 +input array
 +
 +**__column__** ​
 +[[Integer]]
 +number of column, counting starts with 0, last row is -1
 +
 +===OUTPUT PINS===
 +**__results__** ​
 +[[AnyPin]]
 +column as list
 +
 +=====§_ArrayRow=====
 +/*
 +huhu2
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  select a row of a matrix as list
 +  ​
 +[[nodes::​ArrayRow|More ...]]
 +
 +
 +Videos: https://​youtu.be/​VpkHyqaTgh4
 +
 +===INPUT PINS===
 +**__array__** ​
 +[[AnyPin]]
 +input array
 +
 +**__row__** ​
 +[[Integer]]
 +number of row, counting starts with 0, last row is -1
 +
 +===OUTPUT PINS===
 +**__results__** ​
 +[[AnyPin]]
 +row as list
 +
 +=====§_ArrayToFloat=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  convert the cells of a list to floats
 +  ​
 +[[nodes::​ArrayToFloat|More ...]]
 +
 +
 +Videos: https://​youtu.be/​VpkHyqaTgh4
 +
 +===INPUT PINS===
 +**__array__** ​
 +[[StringPin]]
 +list of data
 +
 +===OUTPUT PINS===
 +**__results__** ​
 +[[FloatPin]]
 +np.float(array)
 +
 +=====§_BoolOnList=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  boolean set operations on two list: union, intersection,​ difference
 +  ​
 +[[nodes::​BoolOnList|More ...]]
 +
 +
 +Videos: https://​youtu.be/​VpkHyqaTgh4
 +
 +===INPUT PINS===
 +**__listA__** ​
 +[[AnyPin]]
 +first list fo data
 +
 +**__listB__** ​
 +[[AnyPin]]
 +2nd list fo data
 +
 +===OUTPUT PINS===
 +**__AfuseB__** ​
 +[[AnyPin]]
 + union of the sets: a or b, a + b
 +
 +**__AcommonB__** ​
 +[[AnyPin]]
 + ​intersection of the sets: a and b, a * b
 +
 +**__AcutB__** ​
 +[[AnyPin]]
 + ​difference of the sets: a without b, a - b
 +
 +=====§_Command=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  single cypher command to database
 +  ​
 +[[nodes::​Command|More ...]]
 +
 +
 +===INPUT PINS===
 +**__driver__** ​
 +[[FCobjPin]]
 +FCobjPin instance
 +
 +**__cypher__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__stop__** ​
 +[[ExecPin]]
 +ExecPin instance
 +
 +===OUTPUT PINS===
 +**__results__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +=====§_GetAdminPost=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  download posts as admin
 +  ​
 +[[nodes::​GetAdminPost|More ...]]
 +
 +
 +===INPUT PINS===
 +**__driver__** ​
 +[[FCobjPin]]
 +FCobjPin instance
 +
 +**__startingPost__** ​
 +[[IntPin]]
 +IntPin instance
 +
 +**__countPosts__** ​
 +[[IntPin]]
 +IntPin instance
 +
 +**__filenameUserIP__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__filenamePostIP__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__stop__** ​
 +[[ExecPin]]
 +ExecPin instance
 +
 +===OUTPUT PINS===
 +**__UserIP__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__PostIP__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +=====§_GetPost=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  anonymious download posts
 +  ​
 +[[nodes::​GetPost|More ...]]
 +
 +
 +===INPUT PINS===
 +**__driver__** ​
 +[[FCobjPin]]
 +FCobjPin instance
 +
 +**__startingPost__** ​
 +[[IntPin]]
 +IntPin instance
 +
 +**__countPosts__** ​
 +[[IntPin]]
 +IntPin instance
 +
 +**__filenameHeader__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__dirnamePosts__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__stop__** ​
 +[[ExecPin]]
 +ExecPin instance
 +
 +**__cypher__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +===OUTPUT PINS===
 +**__users__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__posts__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__threads__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +=====§_ProcessArray=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  A TEST TOOL FOR ARRAY PROCESSING
 +  ​
 +[[nodes::​ProcessArray|More ...]]
 +
 +
 +===INPUT PINS===
 +**__url__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__array__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__mode__** ​
 +[[String]]
 +String instance
 +
 +===OUTPUT PINS===
 +**__results__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +=====§_RemoteCSV=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  read csv  from internet
 +  ​
 +[[nodes::​RemoteCSV|More ...]]
 +
 +
 +===INPUT PINS===
 +**__url__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +===OUTPUT PINS===
 +**__results__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +=====§_SIR=====
 +/*
 +A --- 5e-07
 +A --- 5e-07
 +A --- 5e-07
 +A --- 5e-07
 +steps 300
 +millias 0.1 0.1
 +ass variante
 +lne 100 300
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  simulation of the SIR model 
 +  ​
 +[[nodes::​SIR|More ...]]
 +
 +
 +Videos: https://​youtu.be/​Hg5Pv4jyRcY
 +
 +===INPUT PINS===
 +**__comment__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__kiloNO__** ​
 +[[Float]]
 +size of population at start / 1000
 +
 +**__IO__** ​
 +[[Float]]
 +number of infected at start
 +
 +**__RO__** ​
 +[[Float]]
 +number of recoverd/​removed at start
 +
 +**__milliA__** ​
 +[[Float]]
 +factor alpha * 1.000.000
 +
 +**__milliAs__** ​
 +[[FloatPin]]
 +list of alphas ​ to simulate a changing alpha over time
 +
 +**__invB__** ​
 +[[Float]]
 +1/beta - number of days
 +
 +**__days__** ​
 +[[Integer]]
 +how long the simulation should run
 +
 +**__samples__** ​
 +[[IntPin]]
 +length of the output lists
 +
 +**__steps__** ​
 +[[IntPin]]
 +number of intervals for the Euler Cauchy method
 +
 +**__mode__** ​
 +[[String]]
 +not implemented
 +
 +===OUTPUT PINS===
 +**__dates__** ​
 +[[FloatPin]]
 +calculated timestamps
 +
 +**__S__** ​
 +[[FloatPin]]
 +Sensitives
 +
 +**__I__** ​
 +[[FloatPin]]
 +infected
 +
 +**__R__** ​
 +[[FloatPin]]
 +Recovered
 +
 +=====§_SearchList=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  compare the elements of a list with a given value and return the list of matching indices
 +  ​
 +[[nodes::​SearchList|More ...]]
 +
 +
 +Videos: https://​youtu.be/​VpkHyqaTgh4
 +
 +===INPUT PINS===
 +**__x__** ​
 +[[AnyPin]]
 +list of values
 +
 +**__aFloat__** ​
 +[[Float]]
 +value to compare if datatype is Float or Integer ​
 +
 +**__aString__** ​
 +[[String]]
 +value to compare if datatype is String or regualr Expression
 +
 +**__datatype__** ​
 +[[String]]
 +which datatype should be used  form comparsion
 +
 +**__mode__** ​
 +[[String]]
 +condition to check (depends on datatype) ​
 +
 +===OUTPUT PINS===
 +**__first__** ​
 +[[IntPin]]
 +index of the first matching value. -1 if not found
 +
 +**__found__** ​
 +[[IntPin]]
 +list of indexes of matching values
 +
 +=====§_SubArray=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  create a subarray of an array 
 +  ​
 +[[nodes::​SubArray|More ...]]
 +
 +
 +Videos: https://​youtu.be/​VpkHyqaTgh4
 +
 +===INPUT PINS===
 +**__array__** ​
 +[[AnyPin]]
 +input array
 +
 +**__rowStart__** ​
 +[[Integer]]
 +Integer instance
 +
 +**__columnStart__** ​
 +[[Integer]]
 +Integer instance
 +
 +**__rowEnd__** ​
 +[[Integer]]
 +Integer instance
 +
 +**__columnEnd__** ​
 +[[Integer]]
 +Integer instance
 +
 +===OUTPUT PINS===
 +**__results__** ​
 +[[AnyPin]]
 +resulting array: array[rowStart:​rowEnd,​columnStart:​columnEnd]
 +
 +=====§_SubList=====
 +/*
 +huhu2
 +huhu2
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  select a sublist of a list
 +  ​
 +[[nodes::​SubList|More ...]]
 +
 +
 +Videos: https://​youtu.be/​VpkHyqaTgh4
 +
 +===INPUT PINS===
 +**__array__** ​
 +[[AnyPin]]
 +input list
 +
 +**__start__** ​
 +[[Integer]]
 +Integer instance
 +
 +**__end__** ​
 +[[Integer]]
 +Integer instance
 +
 +===OUTPUT PINS===
 +**__results__** ​
 +[[AnyPin]]
 +resulting list: array[start:​end]
 +
 +=====§_SublistByIndex=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  extract a sublist by given indices
 +  ​
 +[[nodes::​SublistByIndex|More ...]]
 +
 +
 +Videos: https://​youtu.be/​VpkHyqaTgh4
 +
 +===INPUT PINS===
 +**__list__** ​
 +[[AnyPin]]
 +list of data
 +
 +**__index__** ​
 +[[IntPin]]
 +list of indices
 +
 +===OUTPUT PINS===
 +**__list_out__** ​
 +[[AnyPin]]
 +reduced list
 +
 +=====§_UpdateGraphDB=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  update neo4j database with data
 +  ​
 +[[nodes::​UpdateGraphDB|More ...]]
 +
 +
 +===INPUT PINS===
 +**__driver__** ​
 +[[FCobjPin]]
 +FCobjPin instance
 +
 +**__mode__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__users__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__posts__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__threads__** ​
 +[[StringPin]]
 +StringPin instance
 +
 +**__stop__** ​
 +[[ExecPin]]
 +ExecPin instance
 +
 +===OUTPUT PINS===
 +=====§_wire2coords=====
 +/*
 +*/
 +[[::​pyflow::​categories#​WWW|WWW ...]]
 +  ​
 +  creates for a 2D wire a list of points on the wire. The points have all the same x-distances
 +  ​
 +[[nodes::​wire2coords|More ...]]
 +
 +
 +Videos: https://​youtu.be/​Hg5Pv4jyRcY
 +
 +===INPUT PINS===
 +**__wire__** ​
 +[[ShapePin]]
 +function like wire: there is only one y for each x 
 +
 +**__days__** ​
 +[[Integer]]
 +number of points on the wire used for inerpolation
 +
 +**__samples__** ​
 +[[Integer]]
 +number of x values
 +
 +**__steps__** ​
 +[[Integer]]
 +number of computed points
 +
 +===OUTPUT PINS===
 +**__steps_out__** ​
 +[[Integer]]
 +the value of steps as outputpin
 +
 +**__x__** ​
 +[[FloatPin]]
 +x values of the interplation
 +
 +**__y__** ​
 +[[FloatPin]]
 +y values of the interplation
 +
  
pyflow/www_nodes.txt · Last modified: 2020/04/11 21:40 by admin