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

For 1.1.3 release #263

Merged
merged 36 commits into from
Oct 20, 2023
Merged

For 1.1.3 release #263

merged 36 commits into from
Oct 20, 2023

Conversation

sanjayankur31
Copy link
Member

No description provided.

pgleeson and others added 30 commits September 22, 2023 16:50
It doesn't seem to work properly with InstancedMeshes. Only the first
character of the console text is repeated again and again, as if it's
being re-written each time an instance of the mesh is created. So,
remove the text entirely. Will document usage elsewhere.
to return the required meshdata
Required for new vispy plotting
chore(deps): remove unused pandas
The logic here is that if a user provides us a file to plot, we don't
need to load all the includes in the file and so on.  We can load only
the information we need to plot the morphology plots and disregard the
other information.

However, if a loaded model is given, we just use that---it's already in
memory, and there's no point of copying it to remove things, since
that'll just use even more memory.
So that we take the total number of segments to be plotted into account,
not segments on individual cells.
Otherwise it interrupts the progressbar
Here, the two radii will be the same, but length can be 0, and we model
this as a sphere.
Warning: will lead to lots of output
.. that do not have a morphology
We implement a heuristic based on a `precision` tuple. This takes two
parameters:

- the number of decimals that should be used to group segments into
  meshes
- the total number of meshes to limit the visualization to.

In general, more meshes means more detail, but less performance. Here,
the user can provide what precision they want to use. The method
includes a heuristic where it will reduce precision until the number of
meshes being used is less than the provided threshold value.
Improve performance of vispy plotter using meshes and their instances
@sanjayankur31 sanjayankur31 self-assigned this Oct 20, 2023
@sanjayankur31 sanjayankur31 merged commit 3674f6b into master Oct 20, 2023
10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants