Framework for electronic structure learning.
Can be used to preprocess DFT data (positions / LDOS), train networks, predict LDOS and postprocess LDOS into energies (and forces, soon).
mala
- common
- check_modules
- json_serializable
- parallelizer
- parameters
Parameters
Parameters.comment
Parameters.network
Parameters.descriptors
Parameters.targets
Parameters.data
Parameters.running
Parameters.hyperparameters
Parameters.manual_seed
Parameters.datageneration
Parameters.load_from_file()
Parameters.load_from_json()
Parameters.load_from_pickle()
Parameters.optuna_singlenode_setup()
Parameters.save()
Parameters.save_as_json()
Parameters.save_as_pickle()
Parameters.show()
Parameters.device
Parameters.openpmd_configuration
Parameters.openpmd_granularity
Parameters.use_atomic_density_formula
Parameters.use_ddp
Parameters.use_gpu
Parameters.use_lammps
Parameters.use_mpi
Parameters.verbosity
ParametersBase
ParametersData
ParametersDataGeneration
ParametersDataGeneration.trajectory_analysis_denoising_width
ParametersDataGeneration.trajectory_analysis_below_average_counter
ParametersDataGeneration.trajectory_analysis_estimated_equilibrium
ParametersDataGeneration.trajectory_analysis_correlation_metric_cutoff
ParametersDataGeneration.trajectory_analysis_temperature_tolerance_percent
ParametersDataGeneration.local_psp_path
ParametersDataGeneration.local_psp_name
ParametersDataGeneration.ofdft_timestep
ParametersDataGeneration.ofdft_number_of_timesteps
ParametersDataGeneration.ofdft_temperature
ParametersDataGeneration.ofdft_kedf
ParametersDataGeneration.ofdft_friction
ParametersDescriptors
ParametersDescriptors.descriptor_type
ParametersDescriptors.bispectrum_twojmax
ParametersDescriptors.descriptors_contain_xyz
ParametersDescriptors.atomic_density_sigma
ParametersDescriptors.atomic_density_cutoff
ParametersDescriptors.lammps_compute_file
ParametersDescriptors.minterpy_cutoff_cube_size
ParametersDescriptors.minterpy_lp_norm
ParametersDescriptors.minterpy_point_list
ParametersDescriptors.minterpy_polynomial_degree
ParametersDescriptors.bispectrum_cutoff
ParametersDescriptors.bispectrum_switchflag
ParametersDescriptors.use_y_splitting
ParametersDescriptors.use_z_splitting
ParametersHyperparameterOptimization
ParametersHyperparameterOptimization.direction
ParametersHyperparameterOptimization.n_trials
ParametersHyperparameterOptimization.hlist
ParametersHyperparameterOptimization.show()
ParametersHyperparameterOptimization.number_training_per_trial
ParametersHyperparameterOptimization.rdb_storage_heartbeat
ParametersHyperparameterOptimization.trial_ensemble_evaluation
ParametersNetwork
ParametersRunning
ParametersRunning.optimizer
ParametersRunning.learning_rate
ParametersRunning.max_number_epochs
ParametersRunning.mini_batch_size
ParametersRunning.early_stopping_epochs
ParametersRunning.early_stopping_threshold
ParametersRunning.learning_rate_scheduler
ParametersRunning.learning_rate_decay
ParametersRunning.learning_rate_patience
ParametersRunning.num_workers
ParametersRunning.use_shuffling_for_samplers
ParametersRunning.checkpoints_each_epoch
ParametersRunning.checkpoint_name
ParametersRunning.run_name
ParametersRunning.logging_dir
ParametersRunning.logging_dir_append_date
ParametersRunning.logger
ParametersRunning.validation_metrics
ParametersRunning.validate_on_training_data
ParametersRunning.validate_every_n_epochs
ParametersRunning.training_log_interval
ParametersRunning.profiler_range
ParametersRunning.inference_data_grid
ParametersRunning.use_mixed_precision
ParametersRunning.l2_regularization
ParametersRunning.dropout
ParametersRunning.after_training_metric
ParametersRunning.during_training_metric
ParametersRunning.use_graphs
ParametersTargets
ParametersTargets.target_type
ParametersTargets.ldos_gridsize
ParametersTargets.ldos_gridspacing_ev
ParametersTargets.ldos_gridoffset_ev
ParametersTargets.pseudopotential_path
ParametersTargets.rdf_parameters
ParametersTargets.tpcf_parameters
ParametersTargets.ssf_parameters
ParametersTargets.assume_two_dimensional
ParametersTargets.restrict_targets
- physical_data
PhysicalData
PhysicalData.parameters
PhysicalData.grid_dimensions
PhysicalData.SkipArrayWriting
PhysicalData.read_dimensions_from_numpy_file()
PhysicalData.read_dimensions_from_openpmd_file()
PhysicalData.read_from_numpy_file()
PhysicalData.read_from_openpmd_file()
PhysicalData.write_to_numpy_file()
PhysicalData.write_to_openpmd_file()
PhysicalData.write_to_openpmd_iteration()
PhysicalData.data_name
PhysicalData.feature_size
PhysicalData.si_dimension
PhysicalData.si_unit_conversion
- datageneration
- ofdft_initializer
- trajectory_analyzer
TrajectoryAnalyzer
TrajectoryAnalyzer.parameters
TrajectoryAnalyzer.average_distance_equilibrated
TrajectoryAnalyzer.distance_metrics_denoised
TrajectoryAnalyzer.distances_realspace
TrajectoryAnalyzer.first_considered_snapshot
TrajectoryAnalyzer.last_considered_snapshot
TrajectoryAnalyzer.target_calculator
TrajectoryAnalyzer.get_first_snapshot()
TrajectoryAnalyzer.get_snapshot_correlation_cutoff()
TrajectoryAnalyzer.get_uncorrelated_snapshots()
TrajectoryAnalyzer.uncache_properties()
TrajectoryAnalyzer.first_snapshot
TrajectoryAnalyzer.snapshot_correlation_cutoff
TrajectoryAnalyzer.trajectory
- datahandling
- data_converter
- data_handler
DataHandler
DataHandler.input_data_scaler
DataHandler.nr_test_data
DataHandler.nr_test_snapshots
DataHandler.nr_training_data
DataHandler.nr_training_snapshots
DataHandler.nr_validation_data
DataHandler.nr_validation_snapshots
DataHandler.output_data_scaler
DataHandler.test_data_sets
DataHandler.training_data_sets
DataHandler.validation_data_sets
DataHandler.clear_data()
DataHandler.get_snapshot_calculation_output()
DataHandler.get_test_input_gradient()
DataHandler.mix_datasets()
DataHandler.prepare_data()
DataHandler.prepare_for_testing()
DataHandler.raw_numpy_to_converted_scaled_tensor()
DataHandler.resize_snapshots_for_debugging()
- data_handler_base
- data_repo
- data_scaler
DataScaler
DataScaler.cantransform
DataScaler.feature_wise
DataScaler.maxs
DataScaler.means
DataScaler.mins
DataScaler.scale_minmax
DataScaler.scale_standard
DataScaler.stds
DataScaler.total_data_count
DataScaler.total_max
DataScaler.total_mean
DataScaler.total_min
DataScaler.total_std
DataScaler.typestring
DataScaler.use_ddp
DataScaler.fit()
DataScaler.inverse_transform()
DataScaler.load_from_file()
DataScaler.partial_fit()
DataScaler.reset()
DataScaler.save()
DataScaler.transform()
- data_shuffler
- fast_tensor_dataset
- lazy_load_dataset
- lazy_load_dataset_single
LazyLoadDatasetSingle
LazyLoadDatasetSingle.allocated
LazyLoadDatasetSingle.currently_loaded_file
LazyLoadDatasetSingle.descriptor_calculator
LazyLoadDatasetSingle.input_data
LazyLoadDatasetSingle.input_dtype
LazyLoadDatasetSingle.input_shape
LazyLoadDatasetSingle.input_shm_name
LazyLoadDatasetSingle.loaded
LazyLoadDatasetSingle.output_data
LazyLoadDatasetSingle.output_dtype
LazyLoadDatasetSingle.output_shape
LazyLoadDatasetSingle.output_shm_name
LazyLoadDatasetSingle.return_outputs_directly
LazyLoadDatasetSingle.snapshot
LazyLoadDatasetSingle.target_calculator
LazyLoadDatasetSingle.allocate_shared_mem()
LazyLoadDatasetSingle.deallocate_shared_mem()
LazyLoadDatasetSingle.delete_data()
LazyLoadDatasetSingle.mix_datasets()
- ldos_aligner
- multi_lazy_load_data_loader
- snapshot
Snapshot
Snapshot.grid_dimensions
Snapshot.grid_size
Snapshot.input_dimension
Snapshot.output_dimension
Snapshot.input_npy_file
Snapshot.input_npy_directory
Snapshot.output_npy_file
Snapshot.output_npy_directory
Snapshot.input_units
Snapshot.output_units
Snapshot.calculation_output
Snapshot.snapshot_function
Snapshot.snapshot_type
Snapshot.from_json()
- descriptors
- atomic_density
- bispectrum
- descriptor
Descriptor
Descriptor.parameters
Descriptor.backconvert_units()
Descriptor.calculate_from_atoms()
Descriptor.calculate_from_qe_out()
Descriptor.convert_local_to_3d()
Descriptor.convert_units()
Descriptor.enforce_pbc()
Descriptor.gather_descriptors()
Descriptor.setup_lammps_tmp_files()
Descriptor.descriptors_contain_xyz
Descriptor.feature_size
Descriptor.si_dimension
Descriptor.si_unit_conversion
- lammps_utils
- minterpy_descriptors
- interfaces
- network
- acsd_analyzer
- descriptor_scoring_optimizer
- hyper_opt
- hyper_opt_naswot
- hyper_opt_oat
- hyper_opt_optuna
- hyperparameter
- hyperparameter_descriptor_scoring
- hyperparameter_naswot
- hyperparameter_oat
- hyperparameter_optuna
- multi_training_pruner
- mutual_information_analyzer
- naswot_pruner
- network
- objective_base
- objective_naswot
- predictor
- runner
- tester
- trainer
- targets
- atomic_force
- calculation_helpers
- cube_parser
- density
Density
Density.backconvert_units()
Density.convert_units()
Density.from_cube_file()
Density.from_ldos_calculator()
Density.from_numpy_array()
Density.from_numpy_file()
Density.from_openpmd_file()
Density.from_xsf_file()
Density.get_atomic_forces()
Density.get_density()
Density.get_energy_contributions()
Density.get_number_of_electrons()
Density.get_scaled_positions_for_qe()
Density.get_target()
Density.invalidate_target()
Density.read_from_array()
Density.read_from_cube()
Density.read_from_xsf()
Density.uncache_properties()
Density.write_to_cube()
Density.write_to_openpmd_file()
Density.data_name
Density.density
Density.feature_size
Density.number_of_electrons
Density.si_dimension
Density.si_unit_conversion
Density.te_mutex
Density.total_energy_contributions
- dos
DOS
DOS.backconvert_units()
DOS.convert_units()
DOS.from_ldos_calculator()
DOS.from_numpy_array()
DOS.from_numpy_file()
DOS.from_qe_dos_txt()
DOS.from_qe_out()
DOS.get_band_energy()
DOS.get_density_of_states()
DOS.get_energy_grid()
DOS.get_entropy_contribution()
DOS.get_number_of_electrons()
DOS.get_self_consistent_fermi_energy()
DOS.get_target()
DOS.invalidate_target()
DOS.read_from_array()
DOS.read_from_numpy_file()
DOS.read_from_qe_dos_txt()
DOS.read_from_qe_out()
DOS.uncache_properties()
DOS.band_energy
DOS.data_name
DOS.density_of_states
DOS.energy_grid
DOS.entropy_contribution
DOS.feature_size
DOS.fermi_energy
DOS.number_of_electrons
DOS.si_dimension
DOS.si_unit_conversion
- ldos
LDOS
LDOS.backconvert_units()
LDOS.convert_units()
LDOS.from_cube_file()
LDOS.from_numpy_array()
LDOS.from_numpy_file()
LDOS.from_openpmd_file()
LDOS.from_xsf_file()
LDOS.get_atomic_forces()
LDOS.get_band_energy()
LDOS.get_density()
LDOS.get_density_of_states()
LDOS.get_energy_grid()
LDOS.get_entropy_contribution()
LDOS.get_number_of_electrons()
LDOS.get_self_consistent_fermi_energy()
LDOS.get_target()
LDOS.get_total_energy()
LDOS.invalidate_target()
LDOS.read_from_array()
LDOS.read_from_cube()
LDOS.read_from_xsf()
LDOS.uncache_properties()
LDOS.band_energy
LDOS.data_name
LDOS.density
LDOS.density_of_states
LDOS.energy_grid
LDOS.entropy_contribution
LDOS.feature_size
LDOS.fermi_energy
LDOS.local_density_of_states
LDOS.number_of_electrons
LDOS.si_dimension
LDOS.si_unit_conversion
LDOS.total_energy
- target
Target
Target.atomic_forces_dft
Target.atoms
Target.band_energy_dft_calculation
Target.electrons_per_atom
Target.entropy_contribution_dft_calculation
Target.fermi_energy_dft
Target.kpoints
Target.local_grid
Target.number_of_electrons_exact
Target.number_of_electrons_from_eigenvals
Target.parameters
Target.qe_pseudopotentials
Target.save_target_data
Target.temperature
Target.total_energy_contributions_dft_calculation
Target.total_energy_dft_calculation
Target.voxel
Target.y_planes
Target.backconvert_units()
Target.convert_units()
Target.get_energy_grid()
Target.get_radial_distribution_function()
Target.get_real_space_grid()
Target.get_static_structure_factor()
Target.get_target()
Target.get_three_particle_correlation_function()
Target.invalidate_target()
Target.radial_distribution_function_from_atoms()
Target.read_additional_calculation_data()
Target.restrict_data()
Target.static_structure_factor_from_atoms()
Target.three_particle_correlation_function_from_atoms()
Target.write_additional_calculation_data()
Target.write_tem_input_file()
Target.write_to_numpy_file()
Target.write_to_openpmd_file()
Target.feature_size
Target.qe_input_data
Target.si_dimension
Target.si_unit_conversion
- xsf_parser