Very starnge problem in python

2021-02-10 Thread Priya Singh
def closset_match(check, arr, itr): id_min = [] for ii in range(itr): id_min_tmp = np.argmin( abs(arr - check) ) id_min.append(id_min_tmp) arr[id_min_tmp] = float('-inf') id_min = np.array(id_min) return id_min def get_match(arr1, arr2, tol, itr): tt

2 sample chi-square test

2020-12-29 Thread Priya Singh
Hi all, I have two spectra with wavelength, flux, and error on flux. I want to find out the variability of these two spectra based on the 2 sample Chi-square test. I am using following code: def compute_chi2_var(file1,file2,zemi,vmin,vmax): w1,f1,e1,c1,vel1 = get_spec_vel(dir_data+file1,zem

comp.lang.python

2019-02-11 Thread Jaya Priya
The comp.lang.python.announce newsgroup (or c.l.py.a for short) has been created in early 1998 as a companion newsgroup for comp.lang.python focused on Python-related announcements. ... other items of general interest to the Python community. https://www.gangboard.com/big-data-training/data-scie

python lmfit.minimizer not working

2018-06-13 Thread Priya Singh
Dear All, I am trying to fit a spectrum using a power law model. I am using lmfit.minimizer. But the problem is that the value of parameter I am getting is same as the initial value. Means minimizer is not working. Here is the part of my code: p = Parameters() p.add('b', value=10) p.add('x_0',

Fitting cubic spline on 2D array

2018-05-30 Thread Priya Singh
ll be of great use to me. Thanks in advance! Regards, Priya -- https://mail.python.org/mailman/listinfo/python-list

Re: Levenberg-Marquardt Algorithm

2018-04-14 Thread Priya Singh
On Wednesday, April 11, 2018 at 12:49:59 PM UTC+5:30, Christian Gollwitzer wrote: > Am 11.04.18 um 08:38 schrieb Priya Singh: > > I have two 2D arrays one R and another T (which is also a 2D array). > > Do you know how can I fit T with R in order to find central > > c

Re: Levenberg-Marquardt Algorithm

2018-04-14 Thread Priya Singh
On On Wednesday, April 11, 2018 at 12:49:59 PM UTC+5:30, Christian Gollwitzer wrote: > Am 11.04.18 um 08:38 schrieb Priya Singh: > > I have two 2D arrays one R and another T (which is also a 2D array). > > Do you know how can I fit T with R in order to find central >

Levenberg-Marquardt Algorithm

2018-04-11 Thread Priya Singh
Good morning. I need some suggestion from you if you have encountered this problem ever. I have two 2D arrays one R and another T (which is also a 2D array). Do you know how can I fit T with R in order to find central coordinate x0,y0 for T relative to R??? So the main question is do you know in

Python -Simplebool

2016-10-05 Thread priya . bmg
n'%(','.join(out_list))) for mute_pair in mut_list: nodes=[] states=[] for node,state in mute_pair: nodes.append(node) states.append(str(state)) result_list=[each_result for each_pair in mut_result[mute_pair] for each_result in each_pair] # collapse results output.writelines('%s,%s,%s\n'%('/'.join(nodes),'/'.join(states),','.join(result_list))) output.close() def GenerateCombinations(INPUT): StrBool={'True':True,'False':False} NodeState=[] Combine=[] for node_list in INPUT['mutation_list']: for node in open(node_list): NodeState.append((node.strip(),StrBool[INPUT['keep_state'][INPUT['mutation_list'].index(node_list)]])) if INPUT['mutation_mode']=='single': for mute_state in NodeState: Combine.append((mute_state,)) return Combine elif INPUT['mutation_mode']=='double': for i in range(len(NodeState)): for j in range(i+1,len(NodeState)): if NodeState[i][0] != NodeState[j][0]: Combine.append((NodeState[i],NodeState[j])) print 'Total %s combinations.'%(len(Combine)) return Combine if __name__ == '__main__': try: para=ParaParser(sys.argv[1]) except: para=ParaParser('mutation.in') simu_mutation(para) After running this file, I got the following error:/home/JPJ/Priya_Ph.D/simple_bool/simplebool/SimpleBool-master/BoolMutation.py in () 383 para=ParaParser(sys.argv[1]) 384 except: --> 385 para=ParaParser('mutation.in') 386 simu_mutation(para) /home/JPJ/Priya_Ph.D/simple_bool/simplebool/SimpleBool-master/BoolMutation.py in ParaParser(ParaFile) 254 } # define parameters 255 --> 256 for each_line in open(ParaFile).readlines(): 257 para_name = each_line.split('=')[0].strip() 258 para_value = each_line.split('=')[1].strip() IOError: [Errno 2] No such file or directory: 'mutation.in' I can't understand, the problem here. Should I specify anything in the Boolmutation.py file. Any help would be appreciated Thank you Regards Priya -- https://mail.python.org/mailman/listinfo/python-list

Signup and get starts to earn.....

2012-02-02 Thread Devi Priya
http://123maza.com/46/dos754/ -- http://mail.python.org/mailman/listinfo/python-list

!!!!$$$$only for ladies$$$!!!!

2011-04-07 Thread aarthi priya
only for ladies$$$ Special wedsite for ladies and women Ladies Secrets A to z of ladies http://www.wix.com/kumarrajlove/ammu just click -- http://mail.python.org/mailman/listinfo/python-list

!!!!$$$$only for ladies$$$!!!!

2011-04-06 Thread aarthi priya
only for ladies$$$ Special site for ladies and women Ladies Secrets A to z of ladies --->>http://www.wix.com/kumarrajlove/ammu just click -- http://mail.python.org/mailman/listinfo/python-list

Openings for Release Management

2008-12-18 Thread Priya Ranjith
Position: Build and Release Engineer Experience Required: 2 - 7 yrs Qualification: B.E/M.E/M.C.A/B.Tech Skills Required: 1) Working experience in distributed version control system like Mercurial / Bazar / GIT or Subversion 2) Experience in RBuilder 3) Working experience in creating software a

Openings for Release Management

2008-12-18 Thread Priya Ranjith
Position: Build and Release Engineer Experience Required: 2 - 7 yrs Qualification: B.E/M.E/M.C.A/B.Tech Skills Required: 1) Working experience in distributed version control system like Mercurial / Bazar / GIT or Subversion 2) Experience in RBuilder 3) Working experience in creating software a

Openings for Release Management

2008-12-18 Thread Priya Ranjith
Position: Build and Release Engineer Experience Required: 2 - 7 yrs Qualification: B.E/M.E/M.C.A/B.Tech Skills Required: 1) Working experience in distributed version control system like Mercurial / Bazar / GIT or Subversion 2) Experience in RBuilder 3) Working experience in creating software a

can the sequence of entries in a dictionary be depended on?

2008-11-21 Thread Priya
Hi, I'm writing a program where i iterate through the entries in a dictionary using a for loop. This for-loop is enclosed by another loop which traverses through a list and checks the relation between each entry in the list and each entry in the dictionary. while I know that dictionaries are 'unord

EARN MONEY $1000-25000 PER MONTH TAKE

2008-08-12 Thread priya
EARN MONEY $1000-25000 PER MONTH TAKE SIMPLE ONLINE SURVEYS CREATE FREE ACCOUNT OTHER DETAILS LOG ON TO *** http://romanticmoviess.com/ *** -- http://mail.python.org/mailman/listinfo/python-list

Need help with apack compression code

2007-03-15 Thread priya kale
I need to code for decompressing the file which is compressed using Apack, I am supposed to code it in visual c++, Plz help me finding algorithm compatible to Widows based C or c++. Regards, Priya Kale (Pune) -- http://mail.python.org/mailman/listinfo/python-list