Timeline for Manipulating list based on Euclidean distance
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 5, 2015 at 6:39 | vote | accept | HuShu | ||
| Apr 5, 2015 at 2:59 | comment | added | C. E.♦ | @NilanjanBanik There's a new version now. | |
| Apr 5, 2015 at 2:59 | history | edited | C. E.♦ | CC BY-SA 3.0 | added 81 characters in body |
| Apr 5, 2015 at 0:53 | comment | added | HuShu | Yes, I used the MockData1 to test the code out. I should expect only the first particle to be untouched and the collided list should the remaining two particles. See comments. | |
| Apr 5, 2015 at 0:45 | comment | added | HuShu | Yes I did try it with 0.1 instead of 0.01, I also tried with 1, but then I get all the particles in the collided list, which should not be the case as the first particle is always away from all the others by at least >1. | |
| Apr 5, 2015 at 0:40 | comment | added | C. E.♦ | @NilanjanBanik It depends on your threshold. 0.01 versus 0.1 versus 1. You have to try it on a sample where you know what the result should be to make sure it works. | |
| Apr 5, 2015 at 0:34 | comment | added | HuShu | MockData1 = {{{9.*10^7, 1.13076*10^6, 0.56, 0.56, 1.05, 1.31518, 25.}, {3.33657*10^8, 1.23356*10^6, 0.91, 0.79, 3.98, 4.15844, 25.}}, {{9.*10^7, 1.13076*10^6, 0.56, 0.56, 1.05, 1.31518, 24.9}, {3.33657*10^8, 1.23356*10^6, 0.91, 0.79, 3.90, 4.15844, 24.9}, {3.33634*10^8, 1.23356*10^6, 0.90, 0.79, 3.90, 4.15844, 24.9}}, {{9.*10^7, 1.13076*10^6, 0.56, 0.56, 1.05, 1.31518, 24.8}, {3.33657*10^8, 1.23356*10^6, 0.91, 0.79, 3.90, 4.15844, 24.8}}} | |
| Apr 5, 2015 at 0:34 | comment | added | HuShu | Thank you very much for your reply. I think there is something wrong. I used a mock data which is very similar to the example that I gave and the id list is empty. | |
| Apr 4, 2015 at 23:37 | history | edited | C. E.♦ | CC BY-SA 3.0 | added 168 characters in body |
| Apr 4, 2015 at 22:48 | history | answered | C. E.♦ | CC BY-SA 3.0 |