Skip to content

Regarding membrane curvature analysis of bilayer #134

Answered by SoumyaCYZ
SoumyaCYZ asked this question in Q&A
Discussion options

You must be logged in to vote

I'm attaching here my code

import MDAnalysis as mda
from membrane_curvature.base import MembraneCurvature
from membrane_curvature.tests.datafiles import (MEMB_GRO, 
                                                MEMB_XTC)

u = mda.Universe("mem_cg.gro", "mem_cg.xtc")

mc_upper = MembraneCurvature(u, 
                             select="resid 1-960 and name PO4",
                             n_x_bins=12, 
                             n_y_bins=12).run()

mc_lower = MembraneCurvature(u, 
                             select='resid 961-1920 and name PO4', 
                             n_x_bins=12, 
                             n_y_bins=12).run()
# surface
surf_upper = mc_upper.results.averag…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@SoumyaCYZ
Comment options

Answer selected by SoumyaCYZ
@orbeckst
Comment options

Comment options

You must be logged in to vote
1 reply
@orbeckst
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #133 on February 13, 2025 23:47.