mwshinn / spatiotemporal

Tools for spatial and temporal autocorrelation
19 stars 3 forks source link

Where I can find an example to use this library? #1

Open automataIA opened 9 months ago

automataIA commented 9 months ago

Can I find an example later to use this library? In particular in my case I have a matrix made up like this (date, longitude, latitude, mm of rain). How can I apply it to this case in case I want to use library functions: STARModel, spatial_weights_matrix ?

mwshinn commented 9 months ago

What is STAR model? For the main model in the paper, you can simulate timeseries using the spatiotemporal.models.spatiotemporal_model_timeseries function, and there is function documentation. Other models in the paper are also in this .models submodule. The library is specifically designed for fMRI timeseries and so I'm not sure if you'll be able to directly apply it to other disciplines.