Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert Sigma_Profile into array #2

Open
mohammad-saber opened this issue Dec 2, 2020 · 3 comments
Open

How to convert Sigma_Profile into array #2

mohammad-saber opened this issue Dec 2, 2020 · 3 comments

Comments

@mohammad-saber
Copy link

Thank you very much for sharing your great work.

When I load data files by "pd.read_csv", the datatype of sigma_profile is String.

Could you please guide me how to convert it into Array?
I tried "eval()" function, but it gives the following error:
SyntaxError: invalid syntax

I think "eval()" works when there is a "," between numbers in sigma_profile.

Thank you very much for your help.

@shree970
Copy link

Hi, were you able to get the gpMol package? As I saw your are using eval() functions

@mohammad-saber
Copy link
Author

No, I don't have the package. It is not shared in the repository.

@shree970
Copy link

In paper they mention.
"In our datasets we found that all σ-profiles can be constrained to a 61-
length continuous vector. Each vector can be interpreted as signal,
as such we normalize each vector to unit length. Since most
profiles have a similar structure, we subtract the mean signal of
all profiles to contrast the differences between profiles"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants