gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[task #15971] Arithmetic operators that take RNG seed as argument


From: Mohammad Akhlaghi
Subject: [task #15971] Arithmetic operators that take RNG seed as argument
Date: Sun, 23 May 2021 19:14:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

URL:
  <https://savannah.gnu.org/task/?15971>

                 Summary: Arithmetic operators that take RNG seed as argument
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Mon 24 May 2021 12:14:44 AM BST
         Should Start On: Mon 24 May 2021 12:00:00 AM BST
   Should be Finished on: Mon 24 May 2021 12:00:00 AM BST
                Category: Table
                Priority: 5 - Normal
              Item Group: Enhancement
                  Status: Postponed
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

Currently when the user gives '--envseed' with _multiple_ of the 'mknoise-*'
operators of column arithmetic in Table, they will receive an increment in the
given seed for every call of an 'mknoise-*' operator. 

This will ensure that the command produces a reproducible sampling of the
random distribution at a later time.

However, this has the limitation that if the order of the calls to the
'mknoise-*' change (for example the output columns are switched), different
seeds will be used. This has no effect on the core concept of reproduciblity
because the input command has changed. But is inconvenient when it happens to
be necessary.

To fix this, each 'mknoise-*' operator should have a mirror 'mknoise-seed-*'
operator which takes one extra argument (the random number generator seed). In
this way, changing the order of the output columns won't affect the result
(and it won't be necessary to call '--envseed').




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/task/?15971>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]