Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-2093

Use randomstate module instead of NumPy for random numbers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: TVB-Simulator
    • Labels:
      None

      Description

      NumPy's RNG is reasonable quality but somewhat slow compared to other available modules such as randomstate

      https://pypi.python.org/pypi/randomstate

      RNG can account for as much time as the model evaluation itself, though numbers vary obviously.

      This task should benchmark potential improvement with randomstate as an optional import, check licenses & package size before committing.

        Attachments

          Activity

            People

            • Assignee:
              marmaduke.woodman Marmaduke Woodman
              Reporter:
              marmaduke.woodman Marmaduke Woodman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified