Commit 7add7ca
* add calculate_pdos and make force constance can be save
* add calculate_pdos and make force constance can be save
* Update phonons.py
* Apply pre-commit hooks for code formatting and linting
* Fix issues found by pre-commit hooks
* add force_constants2file parameter
* - Renamed "force_constants2file" to "force_constants_filename"
- Add "create_force_constants_file" in "generate_frequencies_eigenvectors_kwargs"
- Move "force_constants_filename" and "calculate_pdos" to "generate_frequencies_eigenvectors_kwargs"
* fix doc string placement
* refactor from_forces_born handling create_force_constants_file
---------
Co-authored-by: Yaotang Zhang <[email protected]>
Co-authored-by: Janosh Riebesell <[email protected]>
1 parent 67efb7f commit 7add7ca
2 files changed
+47
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
110 | 116 | | |
111 | 117 | | |
112 | 118 | | |
| |||
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
149 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
150 | 163 | | |
151 | 164 | | |
152 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
349 | 353 | | |
350 | 354 | | |
351 | 355 | | |
352 | 356 | | |
353 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
354 | 371 | | |
355 | 372 | | |
356 | 373 | | |
| |||
361 | 378 | | |
362 | 379 | | |
363 | 380 | | |
364 | | - | |
| 381 | + | |
365 | 382 | | |
366 | 383 | | |
367 | 384 | | |
| |||
406 | 423 | | |
407 | 424 | | |
408 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
409 | 440 | | |
410 | 441 | | |
411 | 442 | | |
| |||
0 commit comments