How can I select some specific elements from a numpy array?
Say I have imported numpy as np
y = np.random.uniform(0,6, 20)
I then want to select all elements (i.e. y < = 1)from y. Thanks in advance
Thank you for bringing this matter to our attention!. It is still a great help and a real pleasure to read your posts
Z = y[y
Hi, I am having trouble with a problem, in the field of Optimal Control and the generation of optimal time-series. Let's consider a system, whose dynamics are represented by dx/dt =...
24 February 2021 9,105 2 View
In our discipline (chemistry), annual meetings of the American Chemical Society (ACS) used to be mega-events with up to 20,000 participants. The current one will be virtual, and the organizers...
06 January 2021 1,882 5 View
Despite certain disadvantages, peer-review is generally accepted as a quality control of manuscripts submitted to scientific journals. The higher the rank of the journal, the more often...
03 December 2020 3,235 17 View
Citations of research papers are the topic of various threads on this platform. Quite often researchers ask how to increase the number of citations. I did my first 30 years of chemical research in...
01 December 2020 6,173 94 View
LSTM has two hidden layers, I want to know the number of cells in each hidden layer.
30 November 2020 3,481 4 View
Chemistry is frequently termed the "central science". It underlies the foundation of modern civilization (drugs, plastics, textiles, dyes, fertilizers etc.), but the public perception of chemistry...
30 November 2020 1,113 15 View
Chemistry is frequently termed the "central science". As such, chemistry is expected to play a major role in fighting the coronavirus. For example, hand sanitizers and drugs are all based on...
30 November 2020 4,983 17 View
As dedicated researchers we all try to contribute to the advancement of our discipline. Often the work can be routine, but occasionally there are some real highlights. Can you please share your...
23 November 2020 4,150 20 View
Please provide your opinion on vertical farming. Is it the future of agriculture? If yes, where is it most promising (areas, countries cities etc.)?
17 November 2020 3,934 97 View
Most researchers have made individual experiences with publishing in peer-reviewed journals. What is your opinion about the peer-reviewing process in general? In your opinion, is it "censorship",...
28 October 2020 3,631 97 View
Hiiiii everyone! I have an enquiry on statistical analysis. I was looking for many forum and it's still cannot solve my problem. I want to compare means of two groups of data but only with two...
03 March 2021 8,796 3 View
I want to analyses the proportion of swimming sperm of three species of fish in two salinities. To analyse the proportion of swimming sperm in a Generalized Linear Model, I would use a Binary...
03 March 2021 2,297 3 View
What's the best way to measure growth rates in House sparrow chicks from day 2 to day 10? Since, the growth curve from day 2 to 10 won't be like the "Logistic curve" it might not follow logistic...
03 March 2021 1,401 3 View
Dear all, I have the variable (Surgery duration) represented by values in minutes and the variable (preoperative neuropraxia cases) represented as (Yes/No) values. I want to compare these two...
03 March 2021 5,427 5 View
I have an experiment with 28 participants The independent variable is the times 1, 2, 5, and 10 used as the cross hairs during a task These 4 times were tested using 4 different blocks, each...
03 March 2021 9,692 2 View
Hi, I hope that someone can help me with this task: I have 5 groups of participants which are numbered in SPSS from 1 to 5 (according to their group number) and are all under the variable group....
03 March 2021 506 3 View
I'm dealing with a mediation model and am using the PROCESS module in SPSS. Due to SPSS and PROCESS being limited in the imputation methods - being unable to handle multiple imputation - the other...
02 March 2021 4,362 1 View
Hello all, In SPSS I am going to code 2 open-ended questions. I have already read all the answers and I made a list of the most important categories to which I can code the answers. This question...
02 March 2021 1,757 4 View
Good afternoon, I recently used OmniLog from BIOLOG for my experimentations : I tested the metabolism of different strains on 2 types of plates. I have 16 strains of 3 different groups...
02 March 2021 3,584 1 View
02 March 2021 5,204 3 View