¡@

Home 

python Programming Glossary: atoms

Python Pandas: how to turn a DataFrame with “factors” into a design matrix for linear regression?

http://stackoverflow.com/questions/10196860/python-pandas-how-to-turn-a-dataframe-with-factors-into-a-design-matrix-for-l

columns in spite of the meaning there are only four unique atoms the 'b' column can be converted to a single floating point column..

IOError when trying to open existing files

http://stackoverflow.com/questions/10802418/ioerror-when-trying-to-open-existing-files

# def extract_zcoord filename ''' collect z coordinates of atoms from charged amino acids ''' f open filename 'r' pdbfile f.readlines..

Calculating the distance between atomic coordinates

http://stackoverflow.com/questions/13645439/calculating-the-distance-between-atomic-coordinates

like to calculate the distance between two alpha carbon atoms i.e calculate the distance between first and second atom and.. and third atom and so on..... The distance between two atoms can be expressed as distance sqrt x1 x2 ^2 y1 y2 ^2 z1 z2 ^2..

How to Calculate Centroid in python

http://stackoverflow.com/questions/18714587/how-to-calculate-centroid-in-python

34.040 ATOM 17 O CYS A 2 21.370 8.690 35.160 I have 1000 atoms in my structure. I have two queries. How I can calculate the..

SymPy: How to return an expression in terms of other expression(s)?

http://stackoverflow.com/questions/2038100/sympy-how-to-return-an-expression-in-terms-of-other-expressions

a way to create an expression that is not represented by atoms but by a combination of other expressions Example from sympy.physics.units..

Python: Random is barely random at all?

http://stackoverflow.com/questions/2145510/python-random-is-barely-random-at-all

1 or about 10^5821. By comparison the total number of atoms in the universe is estimated at about 10^80. The 32 bit integer..

how to tell if a string is base64 or not

http://stackoverflow.com/questions/271657/how-to-tell-if-a-string-is-base64-or-not

What mailer created it RFC2047 encoding can only happen in atoms and a quoted string is not an atom. RFC2047 §5 explicitly denies..