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

Artifacts Fix: #41

Merged
merged 6 commits into from Mar 18, 2020
Merged

Artifacts Fix: #41

merged 6 commits into from Mar 18, 2020

Conversation

Tiernan8r
Copy link
Owner

@Tiernan8r Tiernan8r commented Mar 15, 2020

Fixing of the artifacts issues.

* include_potential.
* potential_scaling.
Plotting no longer occurs via nth_state().
…e now set at the beginning and end of calculations.

* In gen_DEV2() renamed the D matrix to D_n to remove conflict with the D int.
* Added n as a method parameter in nth_state().
* Renamed num_columns, to num_bases.
* Fixed #37 with the change of the calculation of rand_index.
* Added saving of 1D plots in plotting() to .png files.
* Added cap on the number of states generatable so that an array indexing error doesn't occur.
* Fixed mistake in stacking of all_psi.
@Tiernan8r Tiernan8r added the bug Something isn't working label Mar 15, 2020
@Tiernan8r Tiernan8r added this to the Death to all Artifacts. milestone Mar 15, 2020
@Tiernan8r Tiernan8r self-assigned this Mar 15, 2020
@Tiernan8r Tiernan8r linked an issue Mar 15, 2020 that may be closed by this pull request
@Tiernan8r Tiernan8r changed the title Bug hunt Artifacts Fix: Mar 15, 2020
* Still is some debugging code that will be removed in next commit...
* Changed the initial psi to be random valued which aids in generating the final value.
* Apply the boundary conditions = 0 for psi.
* Reimplemented the infinite values fix.
* Changed rand_index to sample the boundaries.
* Removed old artifacts fix code.
* New method generates states with arbitrary phase, added a phase correction on psi, to give it positive phase.

Some general niceties:
* Renamed psi -> f in boundary_conditions() to reflect it's usage for multiple array types.
* In dev_mat() renamed D -> D_n to avoid confusion with the D integer.
* Removed the fix_artifacts boolean from nth_state(), it happens intrinsically!
@Tiernan8r Tiernan8r linked an issue Mar 16, 2020 that may be closed by this pull request
@Tiernan8r Tiernan8r linked an issue Mar 16, 2020 that may be closed by this pull request
@Tiernan8r Tiernan8r marked this pull request as ready for review March 18, 2020 11:08
@Tiernan8r Tiernan8r merged commit b7c7a57 into master Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ground state achieved twice. Artifacts removal from generated psi
1 participant